diff --git a/homelab/server/config/send/.env b/homelab/server/config/send/.env deleted file mode 100644 index e391f8a4..00000000 --- a/homelab/server/config/send/.env +++ /dev/null @@ -1,2 +0,0 @@ -DOCKER_DATA=/home/joey/data/send -SEND_BASE_URL=https://send.jafner.net \ No newline at end of file diff --git a/homelab/server/config/send/docker-compose.yml b/homelab/server/config/send/docker-compose.yml index a9116137..bd3b560b 100644 --- a/homelab/server/config/send/docker-compose.yml +++ b/homelab/server/config/send/docker-compose.yml @@ -17,16 +17,8 @@ services: - web volumes: - ${DOCKER_DATA}/uploads:/uploads - environment: - - VIRTUAL_HOST=0.0.0.0 - - VIRTUAL_PORT=1234 - - DHPARAM_GENERATION=false - - NODE_ENV=production - - BASE_URL=${SEND_BASE_URL} - - PORT=1234 - - REDIS_HOST=redis - - FILE_DIR=/uploads - - MAX_FILE_SIZE=42949672960 + env_file: + - send.env labels: - traefik.http.routers.send.rule=Host(`send.jafner.net`) - traefik.http.routers.send.tls.certresolver=lets-encrypt diff --git a/homelab/server/config/send/project.env b/homelab/server/config/send/project.env deleted file mode 100644 index e69de29b..00000000 diff --git a/homelab/server/config/send/send.env b/homelab/server/config/send/send.env new file mode 100644 index 00000000..c0257e0c --- /dev/null +++ b/homelab/server/config/send/send.env @@ -0,0 +1,13 @@ +# Volumes +DOCKER_DATA=/home/joey/data/send + +# Env +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