Commit fcdfc936 authored by llitfkitfk's avatar llitfkitfk
Browse files

update compose file using HOSTNAME env

parent e5f8ba10
......@@ -33,7 +33,7 @@ services:
deploy:
placement:
constraints:
- node.hostname == moby
- node.hostname == ${HOSTNAME}
node-exporter:
image: prom/node-exporter
......@@ -69,7 +69,7 @@ services:
deploy:
placement:
constraints:
- node.hostname == moby
- node.hostname == ${HOSTNAME}
cadvisor:
image: google/cadvisor
volumes:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment