Skip to content

Commit

Permalink
feat: add restart rule
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed May 4, 2023
1 parent 1fcf246 commit fa1463a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ version: "3"
services:
db:
image: mongo
restart: unless-stopped
ports:
- "27117:27017"
volumes:
- ./data/db:/data/db
redis:
restart: unless-stopped
image: redis
app:
build: .
restart: unless-stopped
volumes:
- ./config.json:/app/config.json
ports:
Expand Down

0 comments on commit fa1463a

Please sign in to comment.