aboutsummaryrefslogblamecommitdiff
blob: acd38c92b620027d7d949d0a5b2930c14d51c9dc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

            
             







                                              
          
                                    






                                                  












                                                                     
                                   









                                                                  

            

             
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:
      - influxdb:/var/lib/influxdb2
      - "./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)