Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- postgres:
- image: postgres:9.6
- container_name: postgres-container
- ports:
- - "5432:5432"
- network_mode: host
- environment:
- - LC_ALL=C.UTF-8
- - POSTGRES_DB=databasename
- - POSTGRES_USER=username
- - POSTGRES_PASSWORD=
- - POSTGRES_PORT=5432
- volumes:
- - ./data.sql:/docker-entrypoint-initdb.d/init.sql
Add Comment
Please, Sign In to add comment