diff --git a/tasks/main.yml b/tasks/main.yml index db4166a..f8df4bc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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'