first
This commit is contained in:
23
docker-swarm.yaml
Normal file
23
docker-swarm.yaml
Normal file
@@ -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:
|
||||
Reference in New Issue
Block a user