diff --git a/__swarm/nebula/nebula-swarm.yml b/__swarm/nebula/nebula-swarm.yml new file mode 100644 index 0000000..242fc44 --- /dev/null +++ b/__swarm/nebula/nebula-swarm.yml @@ -0,0 +1,15 @@ +services: + nebula-sync: + image: ghcr.io/lovelaze/nebula-sync:latest + environment: + PRIMARY: http://192.168.77.101:9380|l4c1j4yd33Du5lo + REPLICAS: http://192.168.77.106:9380|l4c1j4yd33Du5lo + CLIENT_SKIP_TLS_VERIFICATION: 'true' + FULL_SYNC: 'true' + RUN_GRAVITY: 'true' + CRON: 0 * * * * + deploy: + replicas: 1 + placement: + constraints: + - node.role == manager