version: "2" services: nacos: image: dockerhub.zhihuiguotou.com/library/nacos-server:latest container_name: nacos environment: - MODE=standalone volumes: - ./nacos/standalone-logs/:/home/nacos/logs - ./data:/home/nacos/data - ./nacos/init.d/custom.properties:/home/nacos/init.d/custom.properties ports: - "8848:8848" - "9848:9848" - "9555:9555" restart: always environment: NACIS_AUTH_ENABLE: "true" NACOS_AUTH_TOKEN_EXPIRE_SECONDS: 18000 JVM_XMS: 128m JVM_XMX: 128m JVM_MS: 64m JVM_MMS: 64m MODE: standalone NACOS_REPLICAS: 1 PREFER_HOST_MODE: hostname SPRING_DATASOURCE_PLATFORM: mysql MYSQL_SERVICE_HOST: 192.168.0.67 MYSQL_SERVICE_DB_NAME: nacos_config MYSQL_SERVICE_PORT: 3306 MYSQL_SERVICE_USER: root MYSQL_SERVICE_PASSWORD: root
Content type
Image
Digest
Size
498.8 MB
Last updated
over 4 years ago
docker pull jackios/nacos-server