docker-compose.yml 847 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # 镜像推送到
  2. version: '3'
  3. services:
  4. avenue-mysql:
  5. build:
  6. context: ./db
  7. environment:
  8. MYSQL_ROOT_HOST: "%"
  9. MYSQL_ROOT_PASSWORD: 1890!Hd1
  10. restart: always
  11. container_name: avenue-mysql
  12. image: avenue-mysql
  13. ports:
  14. - 3306:3306
  15. volumes:
  16. - ./avenue-mysql:/var/lib/mysql
  17. command: --lower_case_table_names=1
  18. avenue-redis:
  19. container_name: avenue-redis
  20. image: redis:6.2.6
  21. restart: always
  22. command: redis-server --requirepass 1890!Hd1
  23. ports:
  24. - 6379:6379
  25. avenue-upms:
  26. restart: always
  27. container_name: avenue-upms
  28. image: 172.26.7.172:80/library/avenue-upms-biz:4.6.0
  29. ports:
  30. - 9999:9999
  31. avenue-codegen:
  32. restart: always
  33. image: 172.26.7.172:80/library/avenue-codegen:4.6.0
  34. container_name: avenue-codegen
  35. ports:
  36. - 5003:5003