Add stack.env file

This commit is contained in:
Mark Veidemanis 2022-07-28 19:57:26 +01:00
parent 7eee2ec929
commit b3dce50ce4
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +0,0 @@
THRESHOLD_LISTENER_PORT=13867
THRESHOLD_RELAY_PORT=13868
THRESHOLD_API_PORT=13869

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ conf/dist.sh
conf/blacklist.json conf/blacklist.json
env/ env/
.idea/ .idea/
.env

View File

@ -11,7 +11,7 @@ services:
- "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}" - "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}"
- "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}" - "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}"
env_file: env_file:
- .env - stack.env
# for development # for development
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"

12
stack.env Normal file
View File

@ -0,0 +1,12 @@
THRESHOLD_LISTENER_HOST=0.0.0.0
THRESHOLD_LISTENER_PORT=13867
THRESHOLD_LISTENER_SSL=1
THRESHOLD_RELAY_ENABLED=1
THRESHOLD_RELAY_HOST=0.0.0.0
THRESHOLD_RELAY_PORT=13868
THRESHOLD_RELAY_SSL=1
THRESHOLD_API_ENABLED=1
THRESHOLD_API_HOST=0.0.0.0
THRESHOLD_API_PORT=13869