Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- postgres:
- image: postgres
- environment:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: postgres
- PGDATA: /data/postgres
- volumes:
- - /data/postgres:/data/postgres
- ports:
- - "5432:5432"
- networks:
- - postgres
- restart: unless-stopped
- pgadmin:
- links:
- - postgres:postgres
- image: fenglc/pgadmin4
- volumes:
- - /data/pgadmin:/root/.pgadmin
- ports:
- - "5050:5050"
- networks:
- - postgres
- restart: unless-stopped
- networks:
- postgres:
- driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement