Add swarmpit
This commit is contained in:
parent
0d93c7a5bf
commit
84639669d6
9 changed files with 163 additions and 116 deletions
7
infrastructure/add-swarmpit.sh
Normal file
7
infrastructure/add-swarmpit.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
DOMAIN=swarmpit.decla.red
|
||||
NODE_ID=$(docker info -f '{{.Swarm.NodeID}}')
|
||||
docker node update --label-add swarmpit.db-data=true $NODE_ID
|
||||
docker node update --label-add swarmpit.influx-data=true $NODE_ID
|
||||
docker stack deploy -c docker-compose.swarmpit.yml swarmpit
|
||||
Loading…
Add table
Add a link
Reference in a new issue