From 31c74620c2239ca77795448d949ececf2ea0b913 Mon Sep 17 00:00:00 2001 From: Kato Twofold Date: Tue, 17 May 2022 22:17:56 +0300 Subject: [PATCH] * Sorted .env --- .env.example | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index efafde1..d65c373 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,22 @@ -DATABASE_DRIVER=sqlite # sqlite,mysql +## [ Required Variables ] +# ! The domain base of your app, this should not end in a trailing slash +DOMAIN_BASE=http://localhost:8080 + +## ? Functionality Changes, these are optional but recommended to setup as you like + +# The maximum map caching, from my testing 15 would reach 250mb of ram usage on docker +CACHE_MAP_LIMIT=15 +# Maximum API call requests to the API, this will ban the api for 5 minutes after requesting more than API_RATE_LIMIT in 5 minutes. +API_BAN_LIMIT=300 + +# Optional database driver, you can just ignore and use sqlite +DATABASE_DRIVER=sqlite + +# Mysql database connetion details, fill these in if you chose mysql above. MYSQL_ROOT_PASSWORD=example-dev MYSQL_DATABASE=freepad MYSQL_USER=freepad MYSQL_PASSWORD=example-dev MYSQL_URL=mariadb -MYSQL_PORT=3306 - -DOMAIN_BASE=http://localhost:8080 -CACHE_MAP_LIMIT=25 \ No newline at end of file +MYSQL_PORT=3306 \ No newline at end of file