2022-07-11 06:15:02 +00:00
|
|
|
services:
|
|
|
|
pgdb:
|
|
|
|
image: postgres:latest
|
2022-07-16 02:44:49 +00:00
|
|
|
restart: "no"
|
2022-07-11 06:15:02 +00:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
|
|
|
volumes:
|
|
|
|
- "db:/var/lib/postgresql/data"
|
|
|
|
networks:
|
|
|
|
- webnet
|
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
driver: local
|
|
|
|
|
|
|
|
networks:
|
|
|
|
webnet:
|