Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
[#812] Add docker.sock volume to the Scheduler
Browse files Browse the repository at this point in the history
It's needed for the Scheduler to be able to run Docker containers (with the
`LocalExecutor`, the scheduler runs the tasks itself).

opentrials/opentrials#812
  • Loading branch information
vitorbaptista committed Apr 28, 2017
1 parent 99106c3 commit d02dc7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/files/docker-cloud.yml
Expand Up @@ -21,6 +21,8 @@ webserver:
scheduler:
image: 'opentrials/opentrials-airflow:latest'
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
environment:
- EXECUTOR
- AIRFLOW_ENABLE_AUTH
Expand Down

0 comments on commit d02dc7b

Please sign in to comment.