diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..cf0e871 --- /dev/null +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index 88abaa3..d96e3bf 100644 --- a/README.md +++ b/README.md @@ -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)