storage configuration and restart containers

This commit is contained in:
Julien Fastré 2025-01-07 10:56:24 +01:00
parent 07a9f4bf4d
commit 22cfb03984
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 8 additions and 8 deletions

View File

@ -21,6 +21,7 @@ services:
networks:
- traefik
- default
restart: always
app: &defaultApp
image: {{ registry_url }}/{{ registry_project }}/{{ chill_image_php_name }}:{{ item.chill_image_tag }}
@ -41,14 +42,7 @@ services:
networks:
- default
# temporary alter config until merge is solved
post_start:
- command:
- rm
- -f
- "/var/www/app/config/packages/chill_doc_store.yaml"
user: root
restart: always
consumer:
<<: *defaultApp
@ -72,6 +66,7 @@ services:
<<: *defaultApp
entrypoint: "/usr/bin/env"
command: ["bin/console", "chill:cron-job:execute", "-v"]
restart: "no"
{% if item.add_postgres %}
@ -83,6 +78,7 @@ services:
- ./docker/db/data:/var/lib/postgresql/data:rw
networks:
- default
restart: always
{% endif %}
@ -91,11 +87,13 @@ services:
image: redis
networks:
- default
restart: always
relatorio:
image: registry.gitlab.com/champs-libres/public/relatorio-tornado/app:latest
networks:
- default
restart: always
###< chill-project/chill-bundles ###
# sign-worker:
@ -133,6 +131,7 @@ services:
retries: 3
networks:
- default
restart: always
networks:
traefik:

View File

@ -1,3 +1,4 @@
chill_doc_store:
use_driver: local_storage
local_storage:
storage_path: '/var/storage'