| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Set up UCP and DTR per instructions found here: https://github.com/yongshin/vagrant-docker-ee-ubuntu.
engineering/docker-node-app
export DTR_IPADDR=dtr.local git clone git@github.com:yongshin/docker-node-app.git cd ~/docker-node-app docker build -t $DTR_IPADDR/engineering/docker-node-app . docker push $DTR_IPADDR/engineering/docker-node-app
The following stack command brings up two Swarm mode services and deploys it with Interlock enabled. Make sure you have the Routing Mesh enabled inside of UCP before deploying.
# Source client bundle docker stack deploy -c deploy/swarm/docker-compose.yml nodeapp
# Source client bundle kubectl apply -f deploy/k8s/nodeapp-demo.yaml
This removes the entire stack including services
docker stack rm nodeapp
This removes all of the K8S resources
kubectl delete -f deploy/k8s/nodeapp-demo.yaml
This does not utilize Interlock and mainly leverages the internal Swarm Routing Mesh.
docker build -t yongshin/docker-node-app . docker stack deploy -c deploy/swarm/docker-compose-local.yml nodeapp
| Back | FazBrowse Home | New Git URL |