Skip to content

Commit

Permalink
Restart on failure
Browse files Browse the repository at this point in the history
Signed-off-by: William <[email protected]>
  • Loading branch information
kwesidev committed Apr 14, 2024
1 parent 9980fe9 commit d8dfdc3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ version: '3.9'
services:
postgresqldb:
image: postgres:16.2-alpine
restart: always
restart: on-failure
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=root
- POSTGRES_DB=speedyauth

migratedb:
image: migrate/migrate
volumes:
Expand All @@ -32,7 +31,7 @@ services:
- postgresqldb
- migratedb
build: .
restart: always
restart: on-failure
ports:
- "8080:8080"
environment:
Expand Down

0 comments on commit d8dfdc3

Please sign in to comment.