Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #docker compose up -d
- version: '3.8'
- services:
- postgres:
- image: postgres:13
- ports:
- - "5432:5432"
- environment:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: postgres
- POSTGRES_DB: postgres
- volumes:
- - postgres-data:/var/lib/postgresql/data
- pgadmin:
- image: dpage/pgadmin4
- environment:
- PGADMIN_DEFAULT_PASSWORD: password
- PGADMIN_LISTEN_PORT: 8000
- ports:
- - "8000:8000"
- depends_on:
- - postgres
- volumes:
- postgres-data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement