Skip to content

Commit

Permalink
enable monitoring/influxdb for lila-ws
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Dec 7, 2023
1 parent 7ae3bea commit 05582b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/lila-ws.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ mongo.uri = "mongodb://mongodb:27017/lichess?appName=lila-ws"
redis.uri = "redis://redis"

csrf.origin = ${?LILA_URL}

kamon.enabled = ${?ENABLE_MONITORING}
kamon.influxdb.hostname = "influxdb"
kamon.influxdb.authentication.token = "secret"
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
- lila-network
environment:
- LILA_URL=${LILA_URL:-http://localhost:8080}
- ENABLE_MONITORING=${ENABLE_MONITORING:-false}
volumes:
- ./repos/lila-ws:/lila-ws
- ./conf/lila-ws.conf:/lila-ws.conf
Expand Down

0 comments on commit 05582b3

Please sign in to comment.