Update docker-compose.yaml

This commit is contained in:
Xboard 2023-11-23 13:30:26 +08:00 committed by GitHub
parent 5043882db6
commit 73468494c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,7 @@ services:
- docker=true #用于给安装脚本判断是否为docker环境
depends_on:
- redis
ports:
- 7001:7001
network_mode: host
redis:
build:
context: .docker/services/redis
@ -20,4 +19,4 @@ services:
- ./.docker/.data/redis:/data/ # 挂载redis持久化数据
- redis-socket:/run/redis-socket # 挂载socket
volumes:
redis-socket:
redis-socket: