create stack.env
This commit is contained in:
parent
73bad99d2e
commit
aaafc5caf1
2 changed files with 8 additions and 17 deletions
17
compose.yaml
17
compose.yaml
|
@ -2,23 +2,6 @@ services:
|
||||||
server:
|
server:
|
||||||
build:
|
build:
|
||||||
context: .
|
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:
|
env_file:
|
||||||
- stack.env
|
- stack.env
|
||||||
volumes:
|
volumes:
|
||||||
|
|
8
stack.env
Normal file
8
stack.env
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
PROD=true
|
||||||
|
DOMAIN=http://localhost:6547
|
||||||
|
PORT=6547
|
||||||
|
RATELIMIT=5000
|
||||||
|
IPCHANGETIME=10800000
|
||||||
|
STEAMKEY=NO_KEY
|
||||||
|
COOKIE=NO_COOKIE
|
||||||
|
WEBHOOK=""
|
Loading…
Reference in a new issue