commit 8ec6e43ade899e354c7092319395d9217c0323d0 Author: Tord-Vincent Heggland Date: Wed Apr 15 10:32:13 2026 +0200 first diff --git a/docker-swarm.yaml b/docker-swarm.yaml new file mode 100644 index 0000000..318b956 --- /dev/null +++ b/docker-swarm.yaml @@ -0,0 +1,23 @@ +version: "3.8" + +services: + memos: + image: neosmemo/memos:stable + networks: + - proxy_swarm + volumes: + - memos-data:/var/opt/memos + deploy: + replicas: 1 + placement: + constraints: + - node.labels.hp == true + restart_policy: + condition: any + +networks: + proxy_swarm: + external: true + +volumes: + memos-data: