Revert "docker-swarm-review"
This reverts commit 49d2697ef4c5047934a642b0df656c5112d37509.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
|
||||
env $(cat ./env_review | xargs) envsubst < ./docker-stack.yml | docker stack deploy --compose-file - monitor
|
||||
|
||||
docker stack deploy --compose-file docker-compose.yml monitor --with-registry-auth
|
||||
|
||||
|
||||
docker run \
|
||||
-p 9090:9090 \
|
||||
-v /opt/support/prometheus.yml:/etc/prometheus/prometheus.yml \
|
||||
prom/prometheus:v2.52.0
|
||||
|
||||
docker service create --name cadvisor -l prometheus-job=cadvisor \
|
||||
--mode=global --publish target=8080,mode=host \
|
||||
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock,ro \
|
||||
--mount type=bind,src=/,dst=/rootfs,ro \
|
||||
--mount type=bind,src=/var/run,dst=/var/run \
|
||||
--mount type=bind,src=/sys,dst=/sys,ro \
|
||||
--mount type=bind,src=/var/lib/docker,dst=/var/lib/docker,ro \
|
||||
spcodes/cadvisor:v0.49.1 -docker_only
|
||||
Reference in New Issue
Block a user