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.

91 lines
1.8 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
  15. build:
  16. dockerfile: php73.Dockerfile
  17. php74:
  18. extends:
  19. file: docker-compose.base.yml
  20. service: php
  21. build:
  22. dockerfile: php74.Dockerfile
  23. php81:
  24. extends:
  25. file: docker-compose.base.yml
  26. service: php
  27. build:
  28. dockerfile: php81.Dockerfile
  29. workspace73:
  30. extends:
  31. file: docker-compose.base.yml
  32. service: workspace
  33. build:
  34. dockerfile: workspace73.Dockerfile
  35. secrets:
  36. - user_ssh_key
  37. - user_known_hosts
  38. - composer_auth1
  39. workspace74:
  40. extends:
  41. file: docker-compose.base.yml
  42. service: workspace
  43. build:
  44. dockerfile: workspace74.Dockerfile
  45. secrets:
  46. - user_ssh_key
  47. - user_known_hosts
  48. - composer_auth1
  49. workspace81:
  50. extends:
  51. file: docker-compose.base.yml
  52. service: workspace
  53. build:
  54. dockerfile: workspace81.Dockerfile
  55. inbucket:
  56. extends:
  57. file: docker-compose.base.yml
  58. service: inbucket
  59. db:
  60. extends:
  61. file: docker-compose.base.yml
  62. service: db
  63. volumes:
  64. - database:/var/lib/mysql
  65. - ./hostfiles:/hostfiles
  66. pma:
  67. extends:
  68. file: docker-compose.base.yml
  69. service: pma
  70. redis:
  71. extends:
  72. file: docker-compose.base.yml
  73. service: redis
  74. redis-some:
  75. extends:
  76. file: docker-compose.base.yml
  77. service: redis
  78. volumes:
  79. database:
  80. secrets:
  81. user_ssh_key:
  82. file: ~/.ssh/id_rsa
  83. user_known_hosts:
  84. file: ~/.ssh/known_hosts
  85. composer1_auth:
  86. file: ~/.composer/auth.json
  87. composer2_auth:
  88. file: ~/.config/composer/auth.json