docker-compose.yml 1.1 KB

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