Advertisement
Guest User

Untitled

a guest
Feb 29th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. version: '2'
  2. services:
  3.  
  4. content:
  5. extends:
  6. file: config/docker-compose.common.yml
  7. service: content_${LVD_ENVIRONMENT}
  8. command: env
  9.  
  10.  
  11. nginx:
  12. extends:
  13. file: config/docker-compose.common.yml
  14. service: nginx
  15. # links:
  16. # - mysql
  17. # depends_on:
  18. # - mysql
  19. volumes_from:
  20. - content
  21.  
  22.  
  23.  
  24. mysql:
  25. command: ls -l /mnt/content
  26. extends:
  27. file: config/docker-compose.common.yml
  28. service: mysql
  29. environment:
  30. MYSQL_DATABASE: root
  31. MYSQL_USER: root
  32. MYSQL_PASSWORD: root
  33. volumes_from:
  34. - content
  35.  
  36.  
  37.  
  38.  
  39. #volumes:
  40. # testvolume:
  41. # external: true
  42.  
  43.  
  44. #networks:
  45. # default:
  46. # driver: overlay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement