Skip to content

Commit

Permalink
feat: add always restart policy for postgres service
Browse files Browse the repository at this point in the history
  • Loading branch information
smart7even committed Aug 30, 2024
1 parent 575c9d0 commit 58fac72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
db:
image: postgres:15.4
restart: always
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
Expand Down

0 comments on commit 58fac72

Please sign in to comment.