summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-05-10 20:05:24 -0500
committerToby Vincent <tobyv13@gmail.com>2021-05-10 20:05:24 -0500
commit920df8cc99af6407f72aa6841580d57bda0c2563 (patch)
tree1e65e7d934648d10a5f60170b110b621a46d54cc
parent312b04e4bc402d4daa1f3a03535e5dc2b3cc1a4e (diff)
more work getting swarm running
-rwxr-xr-xstack.yml (renamed from docker-compose.yml)13
1 files changed, 9 insertions, 4 deletions
diff --git a/docker-compose.yml b/stack.yml
index 1a0e2cd..01626b5 100755
--- a/docker-compose.yml
+++ b/stack.yml
@@ -2,13 +2,18 @@ version: "3"
services:
viz:
- image: dockersamples/visualizer
- container_name: viz
+ image: alexellis2/visualizer-arm
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ports:
- - "8080:8080"
deploy:
+ replicas: 1
placement:
constraints:
- node.role==manager
+ - node.platform.arch==armv7l
+
+networks:
+ default:
+ driver: overlay
+ external:
+ name: proxy