0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-12-06 14:52:41 +01:00

Add docker build

This commit is contained in:
Delta1925 2023-04-16 16:04:14 +02:00
parent 15d91ab7c0
commit 5726482a6a
No known key found for this signature in database
GPG key ID: 1C21ACE44193CB25
11 changed files with 45 additions and 93 deletions

View file

@ -61,7 +61,7 @@ async fn main() -> std::io::Result<()> {
}
});
info!(
"Running server on http://127.0.0.1:{} (External URL: {})",
"Running server on http://localhost:{} (External URL: {})",
SETTINGS.port, SETTINGS.external_url
);
HttpServer::new(|| {

View file

@ -10,7 +10,6 @@ use url::Url;
pub struct Settings {
#[serde(with = "VariantDef")]
pub variant: Variant,
pub root_folder: String,
pub max_age: i64,
pub cleanup_interval: u64,
pub allowed_domains: Vec<String>,