|
|
@ -9,7 +9,7 @@ services:
|
|
|
|
- MODE=standalone
|
|
|
|
- MODE=standalone
|
|
|
|
- PREFER_HOST_MODE=hostname
|
|
|
|
- PREFER_HOST_MODE=hostname
|
|
|
|
- SPRING_DATASOURCE_PLATFORM=mysql
|
|
|
|
- SPRING_DATASOURCE_PLATFORM=mysql
|
|
|
|
- MYSQL_SERVICE_HOST=mysql01
|
|
|
|
- MYSQL_SERVICE_HOST=mysql
|
|
|
|
- MYSQL_SERVICE_PORT=3306
|
|
|
|
- MYSQL_SERVICE_PORT=3306
|
|
|
|
- MYSQL_SERVICE_USER=root
|
|
|
|
- MYSQL_SERVICE_USER=root
|
|
|
|
- MYSQL_SERVICE_PASSWORD=123456
|
|
|
|
- MYSQL_SERVICE_PASSWORD=123456
|
|
|
@ -18,7 +18,7 @@ services:
|
|
|
|
- JVM_XMX=128m
|
|
|
|
- JVM_XMX=128m
|
|
|
|
- JVM_XMN=128m
|
|
|
|
- JVM_XMN=128m
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /home/nacos/cluster-logs/nacos-server01:/home/nacos/logs
|
|
|
|
- /home/nacos/single-logs/nacos-server:/home/nacos/logs
|
|
|
|
- /home/nacos/init.d:/home/nacos/init.d
|
|
|
|
- /home/nacos/init.d:/home/nacos/init.d
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 8848:8848
|
|
|
|
- 8848:8848
|
|
|
|