No Description

docker-compose.yml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. version: '3.4'
  2. services:
  3. mysql:
  4. image: mysql:8.0
  5. container_name: mysql-server
  6. restart: always
  7. ports:
  8. - "3036:3036"
  9. networks:
  10. - micro-services
  11. volumes:
  12. - mysql-db:/var/lib/mysql
  13. micro-service-customer:
  14. image: micro-service-customer:latest
  15. container_name: micro-service-customer
  16. build:
  17. context: ../micro-service-customer
  18. dockerfile: Dockerfile
  19. ports:
  20. - "8085:8085"
  21. networks:
  22. - micro-services
  23. micro-service-account:
  24. image: micro-service-account:latest
  25. container_name: micro-service-account
  26. build:
  27. context: ../micro-service-account
  28. dockerfile: Dockerfile
  29. ports:
  30. - "8086:8086"
  31. networks:
  32. - micro-services
  33. micro-service-movement:
  34. image: micro-service-movement:latest
  35. container_name: micro-service-movement
  36. build:
  37. context: ../micro-service-movement
  38. dockerfile: Dockerfile
  39. ports:
  40. - "8087:8087"
  41. networks:
  42. - micro-services
  43. volumes:
  44. mysql-db:
  45. networks:
  46. micro-services:

Powered by TurnKey Linux.