mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-01-09 02:44:02 +00:00
[OPB-37] adding loki log collector
upgrading to newer abstracto version adding some info to readme
This commit is contained in:
@@ -20,6 +20,7 @@ REST_PASSWORD=password
|
||||
# port grafana will be reachable
|
||||
GRAFANA_PORT=3000
|
||||
# port prometheus will be reachable
|
||||
LOKI_PORT=3100
|
||||
PROMETHEUS_PORT=9090
|
||||
# port pg admin will be reachable
|
||||
PGADMIN_PORT=5050
|
||||
@@ -28,4 +29,4 @@ PGADMIN_DEFAULT_EMAIL=sheldan@sheldan.dev
|
||||
PGADMIN_DEFAULT_PASSWORD=admin
|
||||
TOKEN=<INSERT TOKEN>
|
||||
YOUTUBE_API_KEY=<INSERT KEY>
|
||||
ONEPLUS_BOT_VERSION=1.5.5
|
||||
ONEPLUS_BOT_VERSION=1.5.6
|
||||
@@ -109,6 +109,28 @@ services:
|
||||
- grafana-user-data:/var/lib/grafana
|
||||
networks:
|
||||
- oneplusbot
|
||||
promtail:
|
||||
container_name: promtail
|
||||
image: ${REGISTRY_PREFIX}oneplus_bot_promtail:${ONEPLUS_BOT_VERSION}
|
||||
depends_on:
|
||||
- bot
|
||||
restart: unless-stopped
|
||||
command: -config.file=/mnt/config/promtail-config.yaml
|
||||
volumes:
|
||||
- bot-logs:/logs
|
||||
networks:
|
||||
- oneplusbot
|
||||
loki:
|
||||
container_name: loki
|
||||
image: ${REGISTRY_PREFIX}oneplus_bot_loki:${ONEPLUS_BOT_VERSION}
|
||||
depends_on:
|
||||
- promtail
|
||||
command: -config.file=/mnt/config/loki-config.yaml
|
||||
ports:
|
||||
- "127.0.0.1:${LOKI_PORT}:3100"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- oneplusbot
|
||||
|
||||
networks:
|
||||
oneplusbot:
|
||||
|
||||
Reference in New Issue
Block a user