From d610f178917e412a7590d6b6034533bd534571d6 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 1 Nov 2022 00:31:41 -0700 Subject: [PATCH] #36 for Fireshare --- homelab/server/config/fireshare/docker-compose.yml | 3 ++- .../server/config/fireshare/{.env => fireshare.env} | 13 +++++++------ .../server/config/fireshare/fireshare_secrets.env | 2 ++ 3 files changed, 11 insertions(+), 7 deletions(-) rename homelab/server/config/fireshare/{.env => fireshare.env} (75%) create mode 100644 homelab/server/config/fireshare/fireshare_secrets.env diff --git a/homelab/server/config/fireshare/docker-compose.yml b/homelab/server/config/fireshare/docker-compose.yml index e2363885..96a07cf9 100644 --- a/homelab/server/config/fireshare/docker-compose.yml +++ b/homelab/server/config/fireshare/docker-compose.yml @@ -21,7 +21,8 @@ services: - $PROCESSED_DIR:/processed - $VIDEO_DIR:/videos env_file: - - .env + - fireshare.env + - fireshare_secrets.env networks: web: diff --git a/homelab/server/config/fireshare/.env b/homelab/server/config/fireshare/fireshare.env similarity index 75% rename from homelab/server/config/fireshare/.env rename to homelab/server/config/fireshare/fireshare.env index ab025043..0f7ec402 100644 --- a/homelab/server/config/fireshare/.env +++ b/homelab/server/config/fireshare/fireshare.env @@ -1,9 +1,10 @@ -ADMIN_USERNAME=joey -ADMIN_PASSWORD=***REMOVED*** -SECRET_KEY=***REMOVED*** -MINUTES_BETWEEN_VIDEO_SCANS=10 -PUID=1000 -PGID=1000 +# Volumes VIDEO_DIR=/mnt/nas/media/Video/Recordings/Fireshare DATA_DIR=/home/joey/data/fireshare/db PROCESSED_DIR=/home/joey/data/fireshare/metadata + +# Env +ADMIN_USERNAME=joey +MINUTES_BETWEEN_VIDEO_SCANS=10 +PUID=1000 +PGID=1000 \ No newline at end of file diff --git a/homelab/server/config/fireshare/fireshare_secrets.env b/homelab/server/config/fireshare/fireshare_secrets.env new file mode 100644 index 00000000..bcd2b070 --- /dev/null +++ b/homelab/server/config/fireshare/fireshare_secrets.env @@ -0,0 +1,2 @@ +ADMIN_PASSWORD=***REMOVED*** +SECRET_KEY=***REMOVED*** \ No newline at end of file