Skip to content

Commit

Permalink
chore: 完善 Redis 部署配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Nov 11, 2023
1 parent 47a5746 commit 39969eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
- /docker/redis/conf/redis.conf:/usr/local/redis/config/redis.conf
- /docker/redis/data:/data
- /docker/redis/logs:/logs
command: 'redis-server /usr/local/redis/config/redis.conf --appendonly yes --requirepass 123456'
command: 'redis-server /usr/local/redis/config/redis.conf --appendonly yes --requirepass 你的 Redis 密码'
continew-admin-server:
build: ./continew-admin
restart: always
Expand Down Expand Up @@ -67,5 +67,5 @@ services:
volumes:
- /docker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf
- /docker/nginx/cert:/etc/nginx/cert
- /docker/continew-admin/web:/usr/share/nginx/html
- /docker/nginx/logs:/var/log/nginx
- /docker/continew-admin/web:/usr/share/nginx/html
2 changes: 1 addition & 1 deletion docker/redis/conf/redis.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bind 0.0.0.0
# redis 密码
requirepass 123456
requirepass 你的 Redis 密码

# key 监听器配置
# notify-keyspace-events Ex
Expand Down

0 comments on commit 39969eb

Please sign in to comment.