From 10e6e639df982b19b37a61b62149079c9ea625cb Mon Sep 17 00:00:00 2001 From: Ivan Moreno Date: Thu, 9 Apr 2020 13:54:56 -0500 Subject: [PATCH] add swarm usage in readme file --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index c158726..1d94eb2 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,20 @@ $ docker-compose up After all the components have been initialized and started, you should be able to open http://localhost:8080/ in your browser. +## Docker swarm deploy +Deploy in docker swarm cluster + +First you need to create a psql-passw for root postgres password + +```bash +$ echo -n "Ingress postgres sql root password: "; read -s pass; echo $pass | docker secret create psql-passw - +``` +Then deploy in the cluster + +```bash +$ docker stack deploy -c swarm-deploy.yml chirpstack +``` + ### Add Network Server When adding the Network Server in the ChirpStack Application Server web-interface