From f3686ae3adea790c73df11ff1470f92ae4bd6aae Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 28 Aug 2024 12:14:19 -0700 Subject: [PATCH] Move send to stack --- homelab/fighter/config/send/send.env | 9 --------- homelab/{fighter/config => stacks}/send/.env | 0 .../config => stacks}/send/docker-compose.yml | 13 ++++++++++--- 3 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 homelab/fighter/config/send/send.env rename homelab/{fighter/config => stacks}/send/.env (100%) rename homelab/{fighter/config => stacks}/send/docker-compose.yml (72%) diff --git a/homelab/fighter/config/send/send.env b/homelab/fighter/config/send/send.env deleted file mode 100644 index 99529cf4..00000000 --- a/homelab/fighter/config/send/send.env +++ /dev/null @@ -1,9 +0,0 @@ -VIRTUAL_HOST=0.0.0.0 -VIRTUAL_PORT=1234 -DHPARAM_GENERATION=false -NODE_ENV=production -BASE_URL=https://send.jafner.net -PORT=1234 -REDIS_HOST=redis -FILE_DIR=/uploads -MAX_FILE_SIZE=42949672960 \ No newline at end of file diff --git a/homelab/fighter/config/send/.env b/homelab/stacks/send/.env similarity index 100% rename from homelab/fighter/config/send/.env rename to homelab/stacks/send/.env diff --git a/homelab/fighter/config/send/docker-compose.yml b/homelab/stacks/send/docker-compose.yml similarity index 72% rename from homelab/fighter/config/send/docker-compose.yml rename to homelab/stacks/send/docker-compose.yml index 0901a893..19cc2e70 100644 --- a/homelab/fighter/config/send/docker-compose.yml +++ b/homelab/stacks/send/docker-compose.yml @@ -7,9 +7,16 @@ services: networks: - send - web - env_file: - - path: ./send.env - required: true + environment: + VIRTUAL_HOST: 0.0.0.0 + VIRTUAL_PORT: 1234 + DHPARAM_GENERATION: false + NODE_ENV: production + BASE_URL: https://send.jafner.net + PORT: 1234 + REDIS_HOST: redis + FILE_DIR: /uploads + MAX_FILE_SIZE: 42949672960 # 40 GiB volumes: - ${DOCKER_DATA}/uploads:/uploads labels: