Advertisement
Guest User

Untitled

a guest
Aug 11th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. ###############################################################################
  2. # Generated on phpdocker.io #
  3. ###############################################################################
  4. version: "3.1"
  5. services:
  6.  
  7. memcached:
  8. image: memcached:alpine
  9. container_name: fimfiction-memcached
  10.  
  11. mariadb:
  12. image: mariadb:10.1
  13. container_name: fimfiction-mariadb
  14. working_dir: /application
  15. volumes:
  16. - .:/application
  17. environment:
  18. - MYSQL_ROOT_PASSWORD=password
  19. - MYSQL_DATABASE=development
  20. - MYSQL_USER=root
  21. - MYSQL_PASSWORD=password
  22.  
  23. elasticsearch:
  24. image: elasticsearch:5.4-alpine
  25. container_name: fimfiction-elasticsearch
  26.  
  27. webserver:
  28. image: nginx:alpine
  29. container_name: fimfiction-webserver
  30. working_dir: /application
  31. volumes:
  32. - .:/application
  33. - ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
  34. ports:
  35. - "5002:80"
  36.  
  37. php-fpm:
  38. build: phpdocker/php-fpm
  39. container_name: fimfiction-php-fpm
  40. working_dir: /application
  41. volumes:
  42. - .:/application
  43. - ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.1/fpm/conf.d/99-overrides.ini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement