commit b8f0ffc7f48c2345b8dd1911aa274022c8a88431 parent d3dafb1039be9564c10cd6fbff81e71e690dbfd9 Author: Xiaodong Xu <[email protected]> Date: Wed Jun 20 16:28:36 +0800 Rename directory Diffstat:
monitor/server/arm/docker-compose.yml | | | 29 | ----------------------------- |
monitor/server/arm/prometheus.yml | | | 2 | -- |
monitor/server/arm_server/docker-compose.yml | | | 29 | +++++++++++++++++++++++++++++ |
monitor/server/arm_server/prometheus.yml | | | 2 | ++ |
diff --git a/monitor/server/arm/docker-compose.yml b/monitor/server/arm/docker-compose.yml @@ -1,29 +0,0 @@ -version: '2' -services: - - grafana: - image: fg2it/grafana-armhf:v5.1.3 - restart: always - ports: - - 9000:3000 - volumes: - - ./data/grafana:/var/lib/grafana - environment: - - GF_SECURITY_ADMIN_PASSWORD=jZFEnD49nZZT3Dp6 - - GF_USERS_ALLOW_SIGN_UP=false - #- GF_SMTP_ENABLED=true - #- GF_SMTP_FROM_ADDRESS= - #- GF_SMTP_FROM_NAME=Selfhost Monitor - #- GF_SMTP_HOST=smtp.exmail.qq.com:465 - #- GF_SMTP_USER= - #- GF_SMTP_PASSWORD= - - prometheus: - image: xjjo/armv7-prometheus:v2.2.1 - command: -config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -web.console.libraries=/usr/share/prometheus/console_libraries -web.console.templates=/usr/share/prometheus/consoles -storage.local.target-heap-size=1073741824 - restart: always - ports: - - 9001:9090 - volumes: - - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro - - ./data/prometheus:/prometheus diff --git a/monitor/server/arm/prometheus.yml b/monitor/server/arm/prometheus.yml @@ -1 +0,0 @@ -../prometheus.yml- \ No newline at end of file diff --git a/monitor/server/arm_server/docker-compose.yml b/monitor/server/arm_server/docker-compose.yml @@ -0,0 +1,29 @@ +version: '2' +services: + + grafana: + image: fg2it/grafana-armhf:v5.1.3 + restart: always + ports: + - 9000:3000 + volumes: + - ./data/grafana:/var/lib/grafana + environment: + - GF_SECURITY_ADMIN_PASSWORD=jZFEnD49nZZT3Dp6 + - GF_USERS_ALLOW_SIGN_UP=false + #- GF_SMTP_ENABLED=true + #- GF_SMTP_FROM_ADDRESS= + #- GF_SMTP_FROM_NAME=Selfhost Monitor + #- GF_SMTP_HOST=smtp.exmail.qq.com:465 + #- GF_SMTP_USER= + #- GF_SMTP_PASSWORD= + + prometheus: + image: xjjo/armv7-prometheus:v2.2.1 + command: -config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -web.console.libraries=/usr/share/prometheus/console_libraries -web.console.templates=/usr/share/prometheus/consoles -storage.local.target-heap-size=1073741824 + restart: always + ports: + - 9001:9090 + volumes: + - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro + - ./data/prometheus:/prometheus diff --git a/monitor/server/arm_server/prometheus.yml b/monitor/server/arm_server/prometheus.yml @@ -0,0 +1 @@ +../prometheus.yml+ \ No newline at end of file