From: Guillaume Pellerin Date: Sat, 25 Apr 2026 12:56:25 +0000 (+0200) Subject: restart: unless-stopped X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=HEAD;p=teleforma.git restart: unless-stopped --- diff --git a/env/prod.yml b/env/prod.yml index 7c92b4d1..d2a5ca74 100644 --- a/env/prod.yml +++ b/env/prod.yml @@ -22,6 +22,7 @@ services: args: dev: 0 command: /bin/sh /srv/app/asgi.sh + restart: unless-stopped volumes: - ./app/:/srv/app - ./bin:/srv/bin @@ -42,16 +43,19 @@ services: - memcached db: + restart: unless-stopped env_file: - env/prod.env networks: - teleforma-prod redis: + restart: unless-stopped networks: - teleforma-prod memcached: + restart: unless-stopped networks: - teleforma-prod diff --git a/env/staging.yml b/env/staging.yml index 05633047..e3c23ccc 100644 --- a/env/staging.yml +++ b/env/staging.yml @@ -25,6 +25,7 @@ services: args: dev: 0 command: /bin/sh /srv/app/asgi.sh + restart: unless-stopped volumes: - ./app/:/srv/app - ./bin:/srv/bin @@ -43,16 +44,19 @@ services: - teleforma-staging db: + restart: unless-stopped env_file: - env/staging.env networks: - teleforma-staging redis: + restart: unless-stopped networks: - teleforma-staging memcached: + restart: unless-stopped networks: - teleforma-staging