docker-compose.yml 559 B

1234567891011121314151617181920212223242526
  1. version: '3'
  2. services:
  3. nacos:
  4. image: registry.cn-hangzhou.aliyuncs.com/72crm/nacos:1.2.1
  5. container_name: nacos
  6. environment:
  7. - MODE=standalone
  8. - TZ=Asia/Shanghai
  9. - LANG=en_US.UTF-8
  10. depends_on:
  11. - db
  12. volumes:
  13. - ./conf:/home/nacos/conf
  14. - ./log:/home/nacos/logs
  15. - ./nacos.sh:/nacos.sh
  16. entrypoint: /nacos.sh -c 'echo "start web service here"'
  17. ports:
  18. - "8848:8848"
  19. networks:
  20. wkcrm_network:
  21. restart: always
  22. networks:
  23. wkcrm_network:
  24. external:
  25. name: wkcrm_network