commit 0918417f09a1646830ae2d76bad09e801b1433b8 Author: Bryant Date: Mon Nov 27 16:27:13 2023 +0800 first commit diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4b33a82 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +visualizer: + image: dockersamples/visualizer:stable + ports: + - "8001:8080" + stop_grace_period: 1m30s + volumes: - "/var/run/docker.sock:/var/run/docker.sock" + deploy: + update_config: + failure_action: rollback + placement: + constraints: + - 'node.role == manager' \ No newline at end of file