Guest User

Untitled

a guest
Nov 6th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. version: '3'
  2. services:
  3. postgres:
  4. image: postgres:9.6
  5. container_name: postgres-container
  6. ports:
  7. - "5432:5432"
  8. network_mode: host
  9. environment:
  10. - LC_ALL=C.UTF-8
  11. - POSTGRES_DB=databasename
  12. - POSTGRES_USER=username
  13. - POSTGRES_PASSWORD=
  14. - POSTGRES_PORT=5432
  15.  
  16. volumes:
  17. - ./data.sql:/docker-entrypoint-initdb.d/init.sql
Add Comment
Please, Sign In to add comment