Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. version: '2'
  2. services:
  3. web:
  4. build:
  5. context: ./web/
  6. dockerfile: Dockerfile
  7. expose:
  8. - "8000"
  9. volumes:
  10. - ./web:/code
  11. - static-data:/www/static
  12. - media-data:/www/media
  13. env_file: devEnv
  14.  
  15. nginx:
  16. build: ./nginx/
  17. ports:
  18. - "80:80"
  19. volumes:
  20. - static-data:/www/static
  21. - media-data:/www/media
  22. volumes_from:
  23. - web
  24. links:
  25. - web:web
  26.  
  27.  
  28. volumes:
  29. static-data:
  30. driver: local
  31. media-data:
  32. driver: s3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement