Skip to content

Commit

Permalink
Add restart: unless-stopped to postgres, remove port
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarros committed Sep 13, 2024
1 parent 64ad866 commit 974fc49
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions development/docker-compose-deps-nats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ services:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=prefect
expose:
- 5432
volumes:
- workflow_db:/var/lib/postgresql/data
healthcheck:
Expand Down
2 changes: 0 additions & 2 deletions development/docker-compose-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ services:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=prefect
expose:
- 5432
volumes:
- workflow_db:/var/lib/postgresql/data
healthcheck:
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,11 @@ services:

task-manager-db:
image: postgres:16-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=prefect
expose:
- 5432
volumes:
- workflow_db:/var/lib/postgresql/data
healthcheck:
Expand Down

0 comments on commit 974fc49

Please sign in to comment.