Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.5'
- services:
- postgres:
- container_name: postgres_container
- image: postgres
- environment:
- POSTGRES_USER: ${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
- PGDATA: /data/postgres
- ports:
- - "5432:5432"
- restart: unless-stopped
- pgadmin:
- container_name: pgadmin_container
- image: dpage/pgadmin4
- environment:
- PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
- PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
- ports:
- - "${PGADMIN_PORT:-5050}:80"
- restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement