Skip to content

Commit

Permalink
Add .env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Apr 11, 2024
1 parent ba072b4 commit d9c6c61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# kamon
KAMON_ENABLED=false

# logging
HTTP_API_LOGGER=false

# http
HTTP_SHUTDOWN_TIMEOUT=1

APP_BACKUP_FILE=backup.json

APP_MAX_MOVE_SIZE=100
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,7 @@ REDIS_HOST=redis KAMON_ENABLED=true CONFIG_FORCE_kamon_influxdb_port=8888 sbt ap

Or creating an `.env` file with environment variables, for example:
```sh
# kamon
KAMON_ENABLED=false

# logging
HTTP_API_LOGGER=true

# http
HTTP_SHUTDOWN_TIMEOUT=1
cp .env.example .env
```

For other `config` check [AppConfig.scala](https://github.com/lichess-org/lila-fishnet/blob/master/app/src/main/scala/AppConfig.scala)
Expand Down

0 comments on commit d9c6c61

Please sign in to comment.