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
docker_compose:
project_src: '{{ app_dir }}'
build: false
restarted: true
# Note: docker-compose versions <=1.28 load the env file from the current working
# directory of the docker-compose command rather than project_src.
env_file: '{{ app_dir }}/.env'