Skip to content

Commit 3fb38d9

Browse files
committed
fix(zammad-init): restart on failure only
1 parent c8588d0 commit 3fb38d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/development/stack.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ x-shared:
1111
ELASTICSEARCH_SCHEMA: https
1212
ELASTICSEARCH_USER: elastic
1313
MEMCACHE_SERVERS: memcached:11211
14-
POSTGRESQL_DB_CREATE: "false"
1514
POSTGRESQL_DB: zammad
15+
POSTGRESQL_DB_CREATE: "false"
1616
POSTGRESQL_HOST: postgres
1717
POSTGRESQL_OPTIONS: ?pool=50
1818
REDIS_URL: redis://redis:6379
@@ -636,8 +636,9 @@ services:
636636
# You cannot access the helpdesk initialization service via a web interface.
637637
<<: *zammad-service
638638
command: ["zammad-init"]
639-
# depends_on:
640-
# - zammad-postgresql
639+
deploy:
640+
restart_policy:
641+
condition: on-failure
641642
user: 0:0
642643
zammad-nginx:
643644
# You can access the helpdesk at [zammad.app.localhost](https://zammad.app.localhost/).

0 commit comments

Comments
 (0)