Skip to content

Commit

Permalink
in docker-compose v2, restart field should always be a string (cf #418)
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Sep 17, 2021
1 parent 8b1c6e4 commit 1d9882e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ volumes:
scrapyd-eggs:
services:
backend:
restart: ${RESTART_POLICY}
restart: "${RESTART_POLICY}"
image: scpomedialab/hyphe_backend:${TAG}
build: .
links:
Expand All @@ -25,7 +25,7 @@ services:
- ${DATA_PATH}archives:/app/archives
- ${DATA_PATH}traph-data:/app/traph-data
frontend:
restart: ${RESTART_POLICY}
restart: "${RESTART_POLICY}"
image: scpomedialab/hyphe_frontend:${TAG}
build: ./hyphe_frontend
ports:
Expand All @@ -35,7 +35,7 @@ services:
env_file:
- config-frontend.env
crawler:
restart: ${RESTART_POLICY}
restart: "${RESTART_POLICY}"
image: scpomedialab/hyphe_crawler:${TAG}
build: ./hyphe_backend/crawler
links:
Expand All @@ -44,7 +44,7 @@ services:
- ${DATA_PATH}scrapyd-logs:/var/log/scrapyd
- ${DATA_PATH}scrapyd-eggs:/var/lib/scrapyd
mongo:
restart: ${RESTART_POLICY}
restart: "${RESTART_POLICY}"
image: mongo:3.6
volumes:
- ${DATA_PATH}mongo-data:/data/db

0 comments on commit 1d9882e

Please sign in to comment.