Set env_file explicitly & remove restarted option

`restarted` seems to cause issues as the relay service could not talk to
the web service
This commit is contained in:
sonny 2023-02-12 13:41:27 +01:00
parent b05d1647b3
commit 8be68590c3

View file

@ -52,5 +52,6 @@
- name: start sentry - name: start sentry
docker_compose: docker_compose:
project_src: '{{ app_dir }}' project_src: '{{ app_dir }}'
build: false # Note: docker-compose versions <=1.28 load the env file from the current working
restarted: true # directory of the docker-compose command rather than project_src.
env_file: '{{ app_dir }}/.env'