Compare commits

..
Author SHA1 Message Date
moritz 605f65a5f5 fix abra.sh 2026-09-01 01:48:37 +02:00
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -3,21 +3,21 @@ export AUTO_WIZARD_VERSION=v2
export PG_BACKUP_VERSION=v2
get_setting_changes() {
/custom-entrypoint.sh "rails r 'puts JSON.pretty_generate(JSON.parse(Setting.all.select{ |setting| setting.state_current != setting.state_initial }.map { |setting| {name: setting.name, value: setting.state_current[\""value\""]} } .to_json))'"
/custom-entrypoint.sh "bundle exec rails r 'puts JSON.pretty_generate(JSON.parse(Setting.all.select{ |setting| setting.state_current != setting.state_initial }.map { |setting| {name: setting.name, value: setting.state_current[\""value\""]} } .to_json))'"
}
console() {
/custom-entrypoint.sh "rails c"
/custom-entrypoint.sh "bundle exec rails c"
}
rails_run() {
COMMAND="rails r \"$@\""
COMMAND="bundle exec rails r \"$@\""
/custom-entrypoint.sh "$COMMAND"
}
init() {
cp -f /opt/zammad/contrib/auto_wizard.json /tmp/auto_wizard.json
/custom-entrypoint.sh "rails zammad:setup:auto_wizard[/tmp/auto_wizard.json]"
/custom-entrypoint.sh "bundle exec rake zammad:setup:auto_wizard[/tmp/auto_wizard.json]"
}
enable_authentik_sso() {
+1 -1
View File
@@ -1,7 +1,7 @@
version: "3.8"
services:
zammad-backup:
image: ghcr.io/zammad/zammad:7.1.2
image: ghcr.io/zammad/zammad:7.1.1
command: ["zammad-backup"]
volumes:
- zammad-backup:/var/tmp/zammad
+5 -5
View File
@@ -45,7 +45,7 @@ x-shared:
SSO_PROVIDER_DOMAIN:
IDP_SSO_TARGET_URL:
IDP_SLO_SERVICE_URL:
image: ghcr.io/zammad/zammad:7.1.2
image: ghcr.io/zammad/zammad:7.1.1
deploy:
restart_policy:
condition: on-failure
@@ -69,7 +69,7 @@ x-shared:
services:
zammad-elasticsearch:
image: elasticsearch:9.4.4
image: elasticsearch:9.4.3
deploy:
restart_policy:
condition: on-failure
@@ -100,7 +100,7 @@ services:
zammad-memcached:
command: memcached -m 256M
image: memcached:1.6.45-alpine
image: memcached:1.6.42-alpine
healthcheck:
test: 'echo "version" | nc -vn -w 1 127.0.0.1 11211'
interval: 30s
@@ -134,7 +134,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=4.1.1+7.1.2"
- "coop-cloud.${STACK_NAME}.version=4.1.0+7.1.1"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
@@ -193,7 +193,7 @@ services:
memory: 2G
zammad-redis:
image: redis:8.10.0-alpine
image: redis:8.8.0-alpine
deploy:
restart_policy:
condition: on-failure