docker

Docker for services
git clone git://git.unixkoans.com/docker.git
Log | Files | Refs

docker-compose.yml (604B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: '2'
services:

  grafana:
    image: fg2it/grafana-armhf:v5.1.3
    restart: always
    ports:
      - 9000:3000
    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
    restart: always
    ports:
      - 9001:9090
    volumes:
      - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro