From d9c6c6109d6624c58ee7cbc05ba371808da40a1f Mon Sep 17 00:00:00 2001 From: Thanh Le Date: Thu, 11 Apr 2024 14:23:34 +0700 Subject: [PATCH] Add .env.example --- .env.example | 12 ++++++++++++ README.md | 9 +-------- 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 .env.example 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)