2020-11-06 13:31:28 +00:00
|
|
|
version: '3'
|
2022-06-14 13:26:01 +00:00
|
|
|
services:
|
2020-11-06 13:31:28 +00:00
|
|
|
postgres:
|
2020-11-07 00:22:26 +00:00
|
|
|
image: postgres:latest
|
2020-11-06 13:31:28 +00:00
|
|
|
restart: 'no'
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: prisma
|
|
|
|
POSTGRES_PASSWORD: prisma
|
|
|
|
volumes:
|
|
|
|
- 'postgres:/var/lib/postgresql/data'
|
2020-11-06 20:34:32 +00:00
|
|
|
ports:
|
|
|
|
- '5432:5432'
|
2022-06-14 13:26:01 +00:00
|
|
|
|
2020-11-06 13:31:28 +00:00
|
|
|
pgadmin:
|
2020-11-07 00:22:26 +00:00
|
|
|
image: dpage/pgadmin4:latest
|
2020-11-06 13:31:28 +00:00
|
|
|
restart: 'no'
|
|
|
|
environment:
|
|
|
|
PGADMIN_DEFAULT_EMAIL: 'admin@pg.com'
|
2020-11-07 13:14:23 +00:00
|
|
|
PGADMIN_DEFAULT_PASSWORD: 'admin'
|
2020-11-06 13:31:28 +00:00
|
|
|
ports:
|
|
|
|
- '4477:80'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres: null
|