30 lines
582 B
YAML
30 lines
582 B
YAML
version: '3'
|
|
|
|
services:
|
|
db:
|
|
image: postgres:13
|
|
environment:
|
|
POSTGRES_PASSWORD: develop
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
pgadmin:
|
|
image: dpage/pgadmin4
|
|
environment:
|
|
PGADMIN_DEFAULT_EMAIL: admin@admin.com
|
|
PGADMIN_DEFAULT_PASSWORD: root
|
|
ports:
|
|
- "8001:80"
|
|
volumes:
|
|
- ./pgadmin_data/servers.json:/pgadmin4/servers.json
|
|
- pgadmin-data:/varl/lib/pgadmin
|
|
|
|
mailer:
|
|
image: schickling/mailcatcher
|
|
ports: [1025,1080]
|
|
|
|
volumes:
|
|
postgres-data:
|
|
pgadmin-data:
|