You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.4 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. version: '3.9'
  2. services:
  3. nginx:
  4. extends:
  5. file: docker-compose.base.yml
  6. service: nginx
  7. networks:
  8. default:
  9. aliases:
  10. - loc.yoursite.ru
  11. php73:
  12. extends:
  13. file: docker-compose.base.yml
  14. service: php-fpm
  15. build:
  16. dockerfile: php73.Dockerfile
  17. php74:
  18. extends:
  19. file: docker-compose.base.yml
  20. service: php-fpm
  21. build:
  22. dockerfile: php74.Dockerfile
  23. workspace73:
  24. extends:
  25. file: docker-compose.base.yml
  26. service: workspace
  27. build:
  28. dockerfile: workspace73.Dockerfile
  29. workspace74:
  30. extends:
  31. file: docker-compose.base.yml
  32. service: workspace
  33. build:
  34. dockerfile: workspace74.Dockerfile
  35. db:
  36. extends:
  37. file: docker-compose.base.yml
  38. service: db
  39. volumes:
  40. - database:/var/lib/mysql
  41. - ./hostfiles:/hostfiles
  42. pma:
  43. extends:
  44. file: docker-compose.base.yml
  45. service: pma
  46. redis:
  47. extends:
  48. file: docker-compose.base.yml
  49. service: redis
  50. redis-salvoterra:
  51. extends:
  52. file: docker-compose.base.yml
  53. service: redis
  54. restart: on-failure
  55. redis-allislam:
  56. extends:
  57. file: docker-compose.base.yml
  58. service: redis
  59. volumes:
  60. database:
  61. secrets:
  62. user_ssh_key:
  63. file: ~/.ssh/id_rsa
  64. user_known_hosts:
  65. file: ~/.ssh/known_hosts
  66. composer_auth:
  67. file: ~/.composer/auth.json