Skip to content

Commit

Permalink
feat: example Rocket config
Browse files Browse the repository at this point in the history
  • Loading branch information
lennoxlotl committed Oct 22, 2024
1 parent 891585b commit 788fcef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/production/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!Rocket.toml
19 changes: 19 additions & 0 deletions docker/production/Rocket.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 788fcef

Please sign in to comment.