This commit is contained in:
Joey Hafner 2022-11-01 00:34:51 -07:00
parent d8989ba7a9
commit faa9802d17
4 changed files with 15 additions and 12 deletions

View File

@ -1,2 +0,0 @@
DOCKER_DATA=/home/joey/data/send
SEND_BASE_URL=https://send.jafner.net

View File

@ -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

View File

@ -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