add docker-service.sh with example for manually adding a service to an existing lb
This commit is contained in:
parent
09bd0c64aa
commit
91aff18202
|
@ -0,0 +1,8 @@
|
|||
docker service create -t \
|
||||
--constraint "node.hostname == ${NOD_HOSTNAME}" \
|
||||
--network $SWARM_NETWORK \
|
||||
--name explorer \
|
||||
--hostname explorer.beta.z.cash \
|
||||
--label traefik.port=3001 \
|
||||
--label traefik.frontend.rule='Host:explorer.beta.z.cash;' \
|
||||
ianamunoz/insight-explorer-zcash:v1.1.1
|
Loading…
Reference in New Issue