From 6882f16e14455c9e89962d3b4b6edbc53b5c9639 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 30 Dec 2024 10:00:05 +0100 Subject: [PATCH] env --- docker-compose.yml | 10 +--------- env | 12 ++++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 env diff --git a/docker-compose.yml b/docker-compose.yml index e92401f..ef00b97 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,12 +6,4 @@ services: volumes: - ./websites:/websites - ./favicon:/favicon - environment: - - "RUST_LOG=info" - - "ROCKET_ADDRESS=0.0.0.0" - # Rewrite links to point back to the archive itself - - "ROUTE_INTERNAL=true" - # Download missing routes on demand - - "DOWNLOAD_ON_DEMAND=true" - # Blacklisted domains (Comma-seperated regex) - - "BLACKLIST_DOMAINS=google.com,.*.youtube.com" + env_file: env diff --git a/env b/env new file mode 100644 index 0000000..61f6371 --- /dev/null +++ b/env @@ -0,0 +1,12 @@ +# Logging +RUST_LOG=info +ROCKET_ADDRESS=0.0.0.0 + +# Rewrite links to point back to the archive itself +ROUTE_INTERNAL=true + +# Download missing routes on demand +DOWNLOAD_ON_DEMAND=true + +# Blacklisted domains (Comma-seperated regex) +BLACKLIST_DOMAINS="google.com,.*.youtube.com"