From e22dfaf44584650d3ff4ef4434dae41ce28b7007 Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Sun, 26 Nov 2023 11:52:10 +0800 Subject: [PATCH] Update docker-compose.yaml --- docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6eca9e9..ac2a449 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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