Loading deploy/.env +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ METRICS_PATH=/metrics DATA_PATH=/db PERSISTENCE_INTERVAL=5m LOG_LEVEL=info DATA_VOL_NAME=pushgateway-vol deploy/docker-compose.dev.yml +11 −0 Original line number Diff line number Diff line version: '3.5' services: pushgateway: deploy: placement: constraints: - node.hostname == ${PLACEMENT_CONSTRAINTS_NODE_HOSTNAME:-hostname} volumes: data-vol: name: ${DATA_VOL_NAME} deploy/docker-compose.prod.yml +7 −0 Original line number Diff line number Diff line version: '3.5' volumes: data-vol: name: ${DATA_VOL_NAME} driver: 'cloudstor:aws' driver_opts: backing: shared deploy/docker-compose.tmpl.yml +0 −4 Original line number Diff line number Diff line Loading @@ -44,7 +44,3 @@ networks: name: ${TRAEFIK_NET_NAME:-traefik-net} driver: ${TRAEFIK_NET_DRIVER:-overlay} external: true volumes: data-vol: name: ${DATA_VOL_NAME:-pushgateway-vol} Loading
deploy/.env +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ METRICS_PATH=/metrics DATA_PATH=/db PERSISTENCE_INTERVAL=5m LOG_LEVEL=info DATA_VOL_NAME=pushgateway-vol
deploy/docker-compose.dev.yml +11 −0 Original line number Diff line number Diff line version: '3.5' services: pushgateway: deploy: placement: constraints: - node.hostname == ${PLACEMENT_CONSTRAINTS_NODE_HOSTNAME:-hostname} volumes: data-vol: name: ${DATA_VOL_NAME}
deploy/docker-compose.prod.yml +7 −0 Original line number Diff line number Diff line version: '3.5' volumes: data-vol: name: ${DATA_VOL_NAME} driver: 'cloudstor:aws' driver_opts: backing: shared
deploy/docker-compose.tmpl.yml +0 −4 Original line number Diff line number Diff line Loading @@ -44,7 +44,3 @@ networks: name: ${TRAEFIK_NET_NAME:-traefik-net} driver: ${TRAEFIK_NET_DRIVER:-overlay} external: true volumes: data-vol: name: ${DATA_VOL_NAME:-pushgateway-vol}