Skip to content

Commit 2149b72

Browse files
authored
Merge pull request #2189 from codalab/restart-compute-worker
Add restart policy to compute_worker configuration
2 parents aff8314 + be6745e commit 2149b72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ services:
226226
- ${HOST_DIRECTORY:-/tmp/codabench}:/codabench
227227
# Actual connection back to docker parent to run things
228228
- /var/run/docker.sock:/var/run/docker.sock
229+
restart: unless-stopped
229230
env_file: .env
230231
environment:
231232
- BROKER_URL=pyamqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@${RABBITMQ_HOST}:${RABBITMQ_PORT}//

0 commit comments

Comments
 (0)