Advertisement
Guest User

Untitled

a guest
Nov 4th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4.  
  5. # NGINX
  6. nginx:
  7. build:
  8. context: ./
  9. dockerfile: nginx/Dockerfile
  10. working_dir: /tddd
  11. #volumes_from:
  12. # - app
  13. ports:
  14. - "8087:8087"
  15.  
  16. # MySQL
  17. mysql:
  18. image: mysql:5.7
  19. restart: always
  20. environment:
  21. - MYSQL_DATABASE=tddd
  22. - MYSQL_USER=tddd
  23. - MYSQL_PASSWORD=secret
  24. - MYSQL_ROOT_PASSWORD=secret
  25. - MYSQL_ALLOW_EMPTY_PASSWORD=no
  26. - MYSQL_RANDOM_ROOT_PASSWORD=no
  27. volumes:
  28. - ./var/lib/mysql:/var/lib/mysql
  29. ports:
  30. - "33061:3306"
  31.  
  32. # Test Driven Development Dashboard
  33. tddd:
  34. build:
  35. context: ./
  36. dockerfile: app/Dockerfile
  37. working_dir: /tddd/repository
  38. volumes:
  39. - './config/tddd:/tddd/config'
  40. environment:
  41. - "DB_PORT=3306"
  42. - "DB_HOST=database"
  43. #command: bash /tddd/start.sh
  44. links:
  45. - mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement