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:
parent
15d91ab7c0
commit
5726482a6a
11 changed files with 45 additions and 93 deletions
|
@ -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(|| {
|
||||
|
|
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue