Update docker-compose.yaml

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

View File

@ -12,9 +12,11 @@ services:
depends_on:
- redis
network_mode: host
restart: always
redis:
build:
context: .docker/services/redis
restart: always
volumes:
- ./.docker/.data/redis:/data/ # 挂载redis持久化数据
- redis-socket:/run/redis-socket # 挂载socket