aboutsummaryrefslogtreecommitdiff
blob: 8aeaff85028feddd462138795ba5dc022e084db6 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3'
services:
  checkinbot:
    image: "clarkzjw/checkin.bot:latest"
    restart: always
    volumes:
      - "./config.ini:/usr/src/app/config.ini"
      - sqlite3:/usr/src/app/database/
    ports:
      - "8080:8080"

  krakend:
    image: "devopsfaith/krakend:2.2"
    restart: always
    ports:
      - "8081:8080"
      - "9091:9091"
    volumes:
      - "./krakend.json:/etc/krakend/krakend.json"

  influx:
    image: influxdb:2.6.1
    environment:
      - "DOCKER_INFLUXDB_INIT_MODE=setup"
      - "DOCKER_INFLUXDB_INIT_USERNAME=krakend"
      - "DOCKER_INFLUXDB_INIT_PASSWORD=password"
      - "DOCKER_INFLUXDB_INIT_ORG=my-org"
      - "DOCKER_INFLUXDB_INIT_BUCKET=krakend"
      - "DOCKER_INFLUXDB_INIT_RETENTION=1w"
      - "DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=my-super-secret-auth-token"
    ports:
      - "8086:8086"
    volumes:
      - "./influx/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh"

  grafana:
    image: "grafana/grafana:9.3.6"
    restart: always
    ports:
      - "3000:3000"
    volumes:
      - grafana:/var/lib/grafana

volumes:
    sqlite3:
    grafana:
    influxdb:
Powered by cgit v1.2.3 (git 2.41.0)