Implement Rust-based emote database and REST API
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# mikebase configuration file
|
||||
# All values can be overridden by environment variables using the APP__ prefix.
|
||||
# Example: APP__DATABASE__URL=sqlite://mikebase.db
|
||||
|
||||
[database]
|
||||
# SQLite example:
|
||||
url = "sqlite://mikebase.db"
|
||||
# PostgreSQL example:
|
||||
# url = "postgresql://user:password@localhost/mikebase"
|
||||
|
||||
[server]
|
||||
host = "0.0.0.0"
|
||||
port = 3000
|
||||
|
||||
[s3]
|
||||
endpoint = "https://s3.eu-central-1.wasabisys.com"
|
||||
region = "eu-central-1"
|
||||
bucket = "open3dlab-emoji"
|
||||
access_key = "YOUR_ACCESS_KEY"
|
||||
secret_key = "YOUR_SECRET_KEY"
|
||||
# Base URL used to construct public image URLs in API responses.
|
||||
public_url = "https://s3.eu-central-1.wasabisys.com/open3dlab-emoji"
|
||||
Reference in New Issue
Block a user