Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.7"
- services:
- db:
- image: postgres
- environment:
- POSTGRES_PASSWORD: postgres
- POSTGRES_USER: postgres
- POSTGRES_DB: db_name
- volumes:
- - ./pgdata:/var/lib/postgresql/data
- ports:
- - "5432:5432"
- web:
- image: web_image
- depends_on:
- - db
- ports:
- - "4000:4000"
Add Comment
Please, Sign In to add comment