修改容器化的配置
This commit is contained in:
parent
604ed75b75
commit
2390e22758
|
|
@ -7,6 +7,7 @@ services:
|
||||||
context: ./nacos
|
context: ./nacos
|
||||||
environment:
|
environment:
|
||||||
- MODE=standalone
|
- MODE=standalone
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
volumes:
|
volumes:
|
||||||
- ./nacos/logs/:/home/nacos/logs
|
- ./nacos/logs/:/home/nacos/logs
|
||||||
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
||||||
|
|
@ -36,6 +37,7 @@ services:
|
||||||
'--lower-case-table-names=1'
|
'--lower-case-table-names=1'
|
||||||
]
|
]
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Asia/Shanghai
|
||||||
MYSQL_DATABASE: 'ry-cloud'
|
MYSQL_DATABASE: 'ry-cloud'
|
||||||
MYSQL_ROOT_PASSWORD: password
|
MYSQL_ROOT_PASSWORD: password
|
||||||
ruoyi-redis:
|
ruoyi-redis:
|
||||||
|
|
@ -43,6 +45,8 @@ services:
|
||||||
image: redis-runtime
|
image: redis-runtime
|
||||||
build:
|
build:
|
||||||
context: ./redis
|
context: ./redis
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -53,6 +57,8 @@ services:
|
||||||
image: nginx-runtime
|
image: nginx-runtime
|
||||||
build:
|
build:
|
||||||
context: ./nginx
|
context: ./nginx
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
ports:
|
ports:
|
||||||
- "8899:80"
|
- "8899:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -69,6 +75,8 @@ services:
|
||||||
image: hyf-runtime
|
image: hyf-runtime
|
||||||
build:
|
build:
|
||||||
context: ./a_th_web
|
context: ./a_th_web
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
ports:
|
ports:
|
||||||
- "9988:80"
|
- "9988:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue