From b1608f74f0836ff5e22e6a931ebf93c8110c9bcd Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 1 Nov 2022 00:33:42 -0700 Subject: [PATCH] #36 for Librespeed --- homelab/server/config/librespeed/docker-compose.yml | 11 +++-------- homelab/server/config/librespeed/librespeed.env | 4 ++++ .../server/config/librespeed/librespeed_secrets.env | 2 ++ homelab/server/config/librespeed/project.env | 0 4 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 homelab/server/config/librespeed/librespeed.env create mode 100644 homelab/server/config/librespeed/librespeed_secrets.env delete mode 100644 homelab/server/config/librespeed/project.env diff --git a/homelab/server/config/librespeed/docker-compose.yml b/homelab/server/config/librespeed/docker-compose.yml index 74bec05e..304457df 100644 --- a/homelab/server/config/librespeed/docker-compose.yml +++ b/homelab/server/config/librespeed/docker-compose.yml @@ -12,19 +12,14 @@ services: loki-timeout: "2s" keep-file: "true" restart: "no" - environment: - - TITLE=LibreSpeed@Jafner.net - - TELEMETRY=true - - ENABLE_ID_OBFUSCATION=true - - PASSWORD=***REMOVED*** - - EMAIL=joey@jafner.net - - IPINFO_APIKEY=83d2ff4e618bd7 + env_file: + - librespeed.env + - librespeed_secrets.env networks: - web labels: - traefik.http.routers.librespeed.rule=Host(`speedtest.jafner.net`) - traefik.http.routers.librespeed.tls.certresolver=lets-encrypt - #- traefik.http.routers.librespeed.middlewares= networks: web: diff --git a/homelab/server/config/librespeed/librespeed.env b/homelab/server/config/librespeed/librespeed.env new file mode 100644 index 00000000..5f0b6616 --- /dev/null +++ b/homelab/server/config/librespeed/librespeed.env @@ -0,0 +1,4 @@ +TITLE=LibreSpeed@Jafner.net +TELEMETRY=true +ENABLE_ID_OBFUSCATION=true +EMAIL=joey@jafner.net diff --git a/homelab/server/config/librespeed/librespeed_secrets.env b/homelab/server/config/librespeed/librespeed_secrets.env new file mode 100644 index 00000000..ab5b4e3a --- /dev/null +++ b/homelab/server/config/librespeed/librespeed_secrets.env @@ -0,0 +1,2 @@ +IPINFO_APIKEY=83d2ff4e618bd7 +PASSWORD=***REMOVED*** \ No newline at end of file diff --git a/homelab/server/config/librespeed/project.env b/homelab/server/config/librespeed/project.env deleted file mode 100644 index e69de29b..00000000