mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 16:36:00 +00:00
Refactor Docker and Kubernetes configurations to add Redis volume mapping and constraints for Docmost and Outline services
This commit is contained in:
+7
-1
@@ -1,3 +1,6 @@
|
||||
volumes:
|
||||
docmost_redis_data: {}
|
||||
|
||||
networks:
|
||||
net:
|
||||
driver: overlay
|
||||
@@ -21,11 +24,14 @@ services:
|
||||
restart: unless-stopped
|
||||
user: "${UID}:${GID}"
|
||||
volumes:
|
||||
- /var/data/docmost:/app/data/storage
|
||||
- docmost_redis_data:/app/data/storage
|
||||
networks:
|
||||
- net
|
||||
- traefik-public
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.docmost.docmost_redis_data == true
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=traefik-public
|
||||
|
||||
Reference in New Issue
Block a user