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"