From b3dce50ce437143fe2a2991a5f2b0ef2ec7082cf Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 28 Jul 2022 19:57:26 +0100 Subject: [PATCH] Add stack.env file --- .env.example | 3 --- .gitignore | 1 + docker-compose.yml | 2 +- stack.env | 12 ++++++++++++ 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 .env.example create mode 100644 stack.env diff --git a/.env.example b/.env.example deleted file mode 100644 index f46978d..0000000 --- a/.env.example +++ /dev/null @@ -1,3 +0,0 @@ -THRESHOLD_LISTENER_PORT=13867 -THRESHOLD_RELAY_PORT=13868 -THRESHOLD_API_PORT=13869 diff --git a/.gitignore b/.gitignore index 2a4c599..3c36401 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ conf/dist.sh conf/blacklist.json env/ .idea/ +.env diff --git a/docker-compose.yml b/docker-compose.yml index 9cb401e..7bce405 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: - "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}" - "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}" env_file: - - .env + - stack.env # for development extra_hosts: - "host.docker.internal:host-gateway" diff --git a/stack.env b/stack.env new file mode 100644 index 0000000..f13b650 --- /dev/null +++ b/stack.env @@ -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