storage configuration and restart containers
This commit is contained in:
parent
07a9f4bf4d
commit
22cfb03984
templates
@ -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:
|
||||
|
@ -1,3 +1,4 @@
|
||||
chill_doc_store:
|
||||
use_driver: local_storage
|
||||
local_storage:
|
||||
storage_path: '/var/storage'
|
Loading…
Reference in New Issue
Block a user