storage configuration and restart containers
This commit is contained in:
parent
07a9f4bf4d
commit
22cfb03984
@ -21,6 +21,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
|
|
||||||
app: &defaultApp
|
app: &defaultApp
|
||||||
image: {{ registry_url }}/{{ registry_project }}/{{ chill_image_php_name }}:{{ item.chill_image_tag }}
|
image: {{ registry_url }}/{{ registry_project }}/{{ chill_image_php_name }}:{{ item.chill_image_tag }}
|
||||||
@ -41,14 +42,7 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
# temporary alter config until merge is solved
|
|
||||||
post_start:
|
|
||||||
- command:
|
|
||||||
- rm
|
|
||||||
- -f
|
|
||||||
- "/var/www/app/config/packages/chill_doc_store.yaml"
|
|
||||||
user: root
|
|
||||||
|
|
||||||
consumer:
|
consumer:
|
||||||
<<: *defaultApp
|
<<: *defaultApp
|
||||||
@ -72,6 +66,7 @@ services:
|
|||||||
<<: *defaultApp
|
<<: *defaultApp
|
||||||
entrypoint: "/usr/bin/env"
|
entrypoint: "/usr/bin/env"
|
||||||
command: ["bin/console", "chill:cron-job:execute", "-v"]
|
command: ["bin/console", "chill:cron-job:execute", "-v"]
|
||||||
|
restart: "no"
|
||||||
|
|
||||||
{% if item.add_postgres %}
|
{% if item.add_postgres %}
|
||||||
|
|
||||||
@ -83,6 +78,7 @@ services:
|
|||||||
- ./docker/db/data:/var/lib/postgresql/data:rw
|
- ./docker/db/data:/var/lib/postgresql/data:rw
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -91,11 +87,13 @@ services:
|
|||||||
image: redis
|
image: redis
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
|
|
||||||
relatorio:
|
relatorio:
|
||||||
image: registry.gitlab.com/champs-libres/public/relatorio-tornado/app:latest
|
image: registry.gitlab.com/champs-libres/public/relatorio-tornado/app:latest
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
###< chill-project/chill-bundles ###
|
###< chill-project/chill-bundles ###
|
||||||
|
|
||||||
# sign-worker:
|
# sign-worker:
|
||||||
@ -133,6 +131,7 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
chill_doc_store:
|
chill_doc_store:
|
||||||
|
use_driver: local_storage
|
||||||
local_storage:
|
local_storage:
|
||||||
storage_path: '/var/storage'
|
storage_path: '/var/storage'
|
Loading…
Reference in New Issue
Block a user