Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 684 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 684 Bytes

Deployment

git pull
npm install --production --prefix build_node_modules/
tsc
webpack --config webpack.prod.config.js
docker build -t tvedtorama/clusterweb .
docker push tvedtorama/clusterweb

docker pull tvedtorama/clusterweb
# ... setup the proxy and letsencrypt stuff 
docker service create --name clusters-gui --network proxy  --network services   --label com.df.notify=true     --label com.df.distribute=true   --label com.df.serviceDomain=clusters.phil.network --label com.df.port=3000 --label com.df.httpsOnly=true  --replicas=2  --with-registry-auth tvedtorama/clusterweb:latest 

To update, its cool to include both the --force and --image ... options.