docker-compose.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. version: '3'
  2. services:
  3. nginx:
  4. container_name: app-nginx
  5. image: nginx:1.13
  6. restart: always
  7. ports:
  8. - 11800:80
  9. volumes:
  10. - ./nginx/conf.d:/etc/nginx/conf.d
  11. depends_on:
  12. - app
  13. ali1:
  14. restart: always
  15. container_name: ali_service_1
  16. build: ali
  17. expose:
  18. - "8095"
  19. # ali2:
  20. # restart: always
  21. # container_name: ali_service_2
  22. # build: ali
  23. # expose:
  24. # - "8096"
  25. mt1:
  26. restart: always
  27. container_name: mt_service_2
  28. build: mt
  29. expose:
  30. - "8090"
  31. # mt2:
  32. # restart: always
  33. # container_name: mt_service_2
  34. # build: mt
  35. # expose:
  36. # - "8090"
  37. consumer-basic:
  38. restart: always
  39. container_name: consumer-basic
  40. build: consumer-basic
  41. expose:
  42. - "9000"
  43. consumer-store:
  44. restart: always
  45. container_name: consumer-store
  46. build: consumer-store
  47. expose:
  48. - "9005"
  49. web-manager:
  50. restart: always
  51. container_name: web-manager
  52. build: web-manager
  53. expose:
  54. - "8080"