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