docker-compose.yml 948 B

12345678910111213141516171819202122232425262728293031323334353637
  1. version: '2.2'
  2. services:
  3. back-user:
  4. restart: always
  5. build:
  6. context: ./back_user
  7. dockerfile: Dockerfile
  8. image: back-user:0.2.0
  9. container_name: back-user-v0.2
  10. ports:
  11. - 8890:8890
  12. environment:
  13. DB_URL: 172.17.0.1:33056/compdfkit_saas_background
  14. DB_USERNAME: deployer
  15. DB_PASSWORD: deployer@123!
  16. NACOS_ADDR: 101.132.103.13:28858
  17. NACOS_IP: back-user
  18. NACOS_USERNAME: saasTest
  19. NACOS_PASSWORD: SaaSTest!ddf@123
  20. MQ_HOST: 101.132.103.13
  21. MQ_PORT: 35672
  22. MQ_USERNAME: admin
  23. MQ_PASSWORD: 1qazZAQ!2
  24. back-gateway:
  25. restart: always
  26. build:
  27. context: ./back_gateway
  28. dockerfile: Dockerfile
  29. image: back-gateway:0.2.0
  30. container_name: back-gateway-v0.2
  31. ports:
  32. - 8088:8088
  33. environment:
  34. NACOS_ADDR: 101.132.103.13:28858
  35. NACOS_IP: back-gateway
  36. NACOS_USERNAME: saasTest
  37. NACOS_PASSWORD: SaaSTest!ddf@123