Advertisement
Guest User

Untitled

a guest
May 31st, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. version: '3'
  2. services:
  3. web:
  4. build:
  5. context: .
  6. dockerfile: python.dockerfile
  7. command: python3 manage.py runserver 0.0.0.0:8000
  8. env_file:
  9. - .env
  10. volumes:
  11. - ".:/project"
  12. ports:
  13. - "8000:8000"
  14.  
  15. database:
  16. image: mdillon/postgis:9.6-alpine
  17. env_file:
  18. - .env
  19. environment:
  20. POSTGRES_DB: ${DB_NAME}
  21. POSTGRES_PASSWORD: ${DB_PASSWORD}
  22. POSTGRES_USER: ${DB_USER}
  23. ports:
  24. - "5432:5432"
  25.  
  26. node:
  27. build:
  28. context: .
  29. dockerfile: node.dockerfile
  30. command: npm run watch .
  31. volumes:
  32. - ".:/src"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement