From 788fcef0e8fd323a0d1a41ba04571c89c388326a Mon Sep 17 00:00:00 2001 From: lennoxlotl Date: Tue, 22 Oct 2024 13:28:36 +0200 Subject: [PATCH] feat: example Rocket config --- docker/production/.gitignore | 1 + docker/production/Rocket.toml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 docker/production/.gitignore create mode 100644 docker/production/Rocket.toml diff --git a/docker/production/.gitignore b/docker/production/.gitignore new file mode 100644 index 0000000..51befe7 --- /dev/null +++ b/docker/production/.gitignore @@ -0,0 +1 @@ +!Rocket.toml \ No newline at end of file diff --git a/docker/production/Rocket.toml b/docker/production/Rocket.toml new file mode 100644 index 0000000..a69af17 --- /dev/null +++ b/docker/production/Rocket.toml @@ -0,0 +1,19 @@ +[default] +file_id_length = 8 +max_image_size = 16 +cache_length = 86400 +public_url = "http://localhost:8000" +auth_key = "hi" + +[default.limits] +data-form = "16MiB" +file = "16MiB" + +[default.bucket] +access_key = "" +access_key_secret = "" +name = "files" +url = "" + +[default.database] +url = "postgres://uploader:password@localhost:5432/uploader"