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.

61 lines
1.1 KiB

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. - someproject.local.wpstudio.ru
  11. depends_on:
  12. - php74
  13. - php81
  14. php74:
  15. extends:
  16. file: docker-compose.base.yml
  17. service: php
  18. build:
  19. dockerfile: php74.Dockerfile
  20. php81:
  21. extends:
  22. file: docker-compose.base.yml
  23. service: php
  24. build:
  25. dockerfile: php81.Dockerfile
  26. workspace74:
  27. extends:
  28. file: docker-compose.base.yml
  29. service: workspace
  30. build:
  31. dockerfile: workspace74.Dockerfile
  32. workspace81:
  33. extends:
  34. file: docker-compose.base.yml
  35. service: workspace
  36. build:
  37. dockerfile: workspace81.Dockerfile
  38. db:
  39. extends:
  40. file: docker-compose.base.yml
  41. service: db
  42. pma:
  43. extends:
  44. file: docker-compose.base.yml
  45. service: pma
  46. inbucket:
  47. extends:
  48. file: docker-compose.base.yml
  49. service: inbucket
  50. volumes:
  51. database:
  52. secrets:
  53. user_ssh_key:
  54. file: ~/.ssh/id_rsa
  55. user_known_hosts:
  56. file: ~/.ssh/known_hosts
  57. composer_auth:
  58. file: ~/.config/composer/auth.json