docs: 优化部署、迁移文档、docker增加redis支持

1、优化部署、迁移
2、自动备份命令增加手动备份功能
3、docker部署集成redis
This commit is contained in:
xboard
2023-11-22 14:01:58 +08:00
parent 57a1d0ba48
commit d1b48623d7
20 changed files with 644 additions and 282 deletions

View File

@@ -1,2 +1,3 @@
*
!.gitignore
!.gitignore
!redis

2
.docker/.data/redis/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

View File

@@ -0,0 +1,5 @@
FROM redis:7-alpine
RUN mkdir -p /run/redis-socket && chmod 777 /run/redis-socket
COPY ./redis.conf /etc/redis.conf
CMD ["redis-server", "/etc/redis.conf"]

View File

@@ -0,0 +1,3 @@
unixsocket /run/redis-socket/redis.sock
unixsocketperm 777
port 0