Refactor Docker and Kubernetes configurations to add user and volume mapping for Redis service

This commit is contained in:
2024-07-31 14:58:37 +08:00
parent 8112288dac
commit 179f618469
2 changed files with 8 additions and 4 deletions
+2
View File
@@ -19,6 +19,7 @@ services:
expose:
- 3000
restart: unless-stopped
user: "${UID}:${GID}"
volumes:
- /var/data/docmost:/app/data/storage
networks:
@@ -50,6 +51,7 @@ services:
redis:
image: redis:7.2-alpine
restart: unless-stopped
user: "${UID}:${GID}"
volumes:
- /var/data/redis_data:/data
networks: