Skip to content

Commit

Permalink
Remove restart from compose
Browse files Browse the repository at this point in the history
  • Loading branch information
qbart committed Feb 4, 2023
1 parent 112b6d2 commit a6ffb07
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ version: '3'
services:
pg:
image: postgres:12.3-alpine
restart: always
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: secret
POSTGRES_USER: krab
POSTGRES_DB: krab

pgweb:
container_name: pgweb
restart: always
image: sosedoff/pgweb
ports:
- "8081:8081"
ports:
- "8081:8081"
environment:
- DATABASE_URL=postgres://krab:secret@pg:5432/krab?sslmode=disable
depends_on:
Expand Down

0 comments on commit a6ffb07

Please sign in to comment.