Skip to content

Commit ca8c131

Browse files
committed
PEER-117: Add restart condition
1 parent 88a6023 commit ca8c131

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backend/question/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ services:
1919
restart: unless-stopped
2020

2121
express:
22-
image: "question-express"
23-
container_name: "question-express"
22+
image: 'question-express'
23+
container_name: 'question-express'
2424
build:
2525
context: ./
2626
dockerfile: ./express.Dockerfile
2727
target: build
2828
ports:
29-
- "8002:8001"
29+
- '8002:8001'
3030
command: node dist/index.js
3131
depends_on:
3232
postgres:
3333
condition: service_started
34-
34+
restart: true
3535

3636
volumes:
3737
question-db-docker:

0 commit comments

Comments
 (0)