Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. version: '3.1'
  2. services:
  3. db_mysql:
  4. build: ./docker/mysql
  5. networks:
  6. - backend
  7. ports:
  8. - 3306:3306
  9. volumes:
  10. - /var/lib/mysql-espace-pro:/var/lib/mysql
  11. command: --default-authentication-plugin=mysql_native_password
  12. environment:
  13. - MYSQL_ROOT_USER=root
  14. - MYSQL_ROOT_PASSWORD=root
  15.  
  16. front_apache:
  17. build: ./docker
  18. depends_on:
  19. - db_mysql
  20. networks:
  21. - frontend
  22. - backend
  23. ports:
  24. - 80:80
  25. - 443:443
  26. domainname: alptis.local
  27. dns:
  28. - 172.16.54.200
  29. - 172.16.54.201
  30. dns_search:
  31. - alptis.local
  32. volumes:
  33. - /etc/passwd:/etc/passwd:ro
  34. - /etc/group:/etc/group:ro
  35. - /etc/shadow:/etc/shadow:ro
  36. - ./profiling/:/var/www/html/espace-pro/profiling
  37. - ./:/var/www/html/espace-pro
  38. - ./docker/logs/apache2:/var/log/apache2
  39. - ./docker/sites-enabled:/etc/apache2/sites-enabled
  40. environment:
  41. - ALLOW_OVERRIDE=true
  42.  
  43. networks:
  44. frontend:
  45. driver: bridge
  46. backend:
  47. driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement