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:
|
2024-07-20 02:23:45 +00:00
|
|
|
- appnet
|
2024-07-07 15:03:07 +00:00
|
|
|
|
|
|
|
pgadmin4:
|
|
|
|
image: dpage/pgadmin4:latest
|
|
|
|
restart: "no"
|
|
|
|
ports:
|
|
|
|
- "5050:80"
|
|
|
|
environment:
|
|
|
|
- PGADMIN_DEFAULT_EMAIL=admin@mydomain.com
|
|
|
|
- PGADMIN_DEFAULT_PASSWORD=Qwerty
|
|
|
|
networks:
|
2024-07-14 23:35:19 +00:00
|
|
|
- appnet
|
2024-07-07 15:03:07 +00:00
|
|
|
|
2022-07-11 06:15:02 +00:00
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
driver: local
|
|
|
|
|
|
|
|
networks:
|
2024-07-14 23:35:19 +00:00
|
|
|
appnet:
|