From da154beae5d8385adfc1fd963a9802418e7cf40d Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 1 Nov 2022 00:31:41 -0700 Subject: [PATCH] #36 for Fireshare --- 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 server/config/fireshare/{.env => fireshare.env} (71%) create mode 100644 server/config/fireshare/fireshare_secrets.env diff --git a/server/config/fireshare/docker-compose.yml b/server/config/fireshare/docker-compose.yml index e236388..96a07cf 100644 --- a/server/config/fireshare/docker-compose.yml +++ b/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/server/config/fireshare/.env b/server/config/fireshare/fireshare.env similarity index 71% rename from server/config/fireshare/.env rename to server/config/fireshare/fireshare.env index 9048256..0f7ec40 100644 --- a/server/config/fireshare/.env +++ b/server/config/fireshare/fireshare.env @@ -1,9 +1,10 @@ -ADMIN_USERNAME=joey -ADMIN_PASSWORD=KnMHiDcDcP4VD9rGbP -SECRET_KEY=exn2UBixdvu3hW2uTqRJMX -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/server/config/fireshare/fireshare_secrets.env b/server/config/fireshare/fireshare_secrets.env new file mode 100644 index 0000000..29bd8ca --- /dev/null +++ b/server/config/fireshare/fireshare_secrets.env @@ -0,0 +1,2 @@ +ADMIN_PASSWORD=KnMHiDcDcP4VD9rGbP +SECRET_KEY=exn2UBixdvu3hW2uTqRJMX \ No newline at end of file