mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-07 21:10:05 +08:00
fix: docker-compose添加自启动
This commit is contained in:
parent
dbb75e1d9e
commit
97502c8b51
@ -19,6 +19,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
container_name: yudao-redis
|
container_name: yudao-redis
|
||||||
image: redis:6-alpine
|
image: redis:6-alpine
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
networks:
|
networks:
|
||||||
@ -29,6 +30,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./yudao-server/
|
context: ./yudao-server/
|
||||||
image: yudao-server
|
image: yudao-server
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 48080:48080
|
- 48080:48080
|
||||||
environment:
|
environment:
|
||||||
@ -70,6 +72,7 @@ services:
|
|||||||
VUE_APP_DOC_ENABLE=${VUE_APP_DOC_ENABLE:-true}
|
VUE_APP_DOC_ENABLE=${VUE_APP_DOC_ENABLE:-true}
|
||||||
VUE_APP_BAIDU_CODE=${VUE_APP_BAIDU_CODE:-fadc1bd5db1a1d6f581df60a1807f8ab}
|
VUE_APP_BAIDU_CODE=${VUE_APP_BAIDU_CODE:-fadc1bd5db1a1d6f581df60a1807f8ab}
|
||||||
image: yudao-admin
|
image: yudao-admin
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user