diff --git a/templates/compose.yaml b/templates/compose.yaml index 45a14d1..aafe356 100644 --- a/templates/compose.yaml +++ b/templates/compose.yaml @@ -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: diff --git a/templates/config/prod/chill_doc_store.yaml b/templates/config/prod/chill_doc_store.yaml index 50d0769..5c5517a 100644 --- a/templates/config/prod/chill_doc_store.yaml +++ b/templates/config/prod/chill_doc_store.yaml @@ -1,3 +1,4 @@ chill_doc_store: + use_driver: local_storage local_storage: storage_path: '/var/storage' \ No newline at end of file