Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db:
- image: postgres
- restart: always
- environment:
- POSTGRES_USER: brezg
- POSTGRES_PASSWORD: brezg
- POSTGRES_DB: brezg
- ports:
- - 5432:5432
- volumes:
- - postgres:/var/lib/postgresql/data
- mongo:
- image: mongo:latest
- environment:
- MONGO_INITDB_ROOT_USERNAME: brezg
- MONGO_INITDB_ROOT_PASSWORD: brezg
- MONGO_INITDB_DATABASE: brezg
- volumes:
- - mongo:/data/db
- ports:
- - 27018:27017
- volumes:
- postgres:
- mongo:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement