From aaafc5caf16934733a74f334647e885b9ae2ef9a Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Thu, 29 Aug 2024 11:03:18 +0500 Subject: [PATCH] create stack.env --- compose.yaml | 17 ----------------- stack.env | 8 ++++++++ 2 files changed, 8 insertions(+), 17 deletions(-) create mode 100644 stack.env diff --git a/compose.yaml b/compose.yaml index 8fd7c4c..1072847 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,23 +2,6 @@ services: server: build: context: . - environment: - # Set true for production database - PROD: true - # Your domain without / at the end - DOMAIN: http://localhost:6547 - # Port for the server - PORT: 6547 - # How often can user send request to API - RATELIMIT: 5000 # 5 seconds - # How often can user change IP address - IPCHANGETIME: 10800000 # 3 hours - # Your SteamAPI key - STEAMKEY: NO_KEY - # Secret for a cookie - COOKIE: NO_COOKIE - # Discord webhook url or leave empty - WEBHOOK: "" env_file: - stack.env volumes: diff --git a/stack.env b/stack.env new file mode 100644 index 0000000..ab9dc98 --- /dev/null +++ b/stack.env @@ -0,0 +1,8 @@ +PROD=true +DOMAIN=http://localhost:6547 +PORT=6547 +RATELIMIT=5000 +IPCHANGETIME=10800000 +STEAMKEY=NO_KEY +COOKIE=NO_COOKIE +WEBHOOK="" \ No newline at end of file