7635a5aeb8
Co-authored-by: Ganonmaster <168445+Ganonmaster@users.noreply.github.com>
23 lines
645 B
TOML
23 lines
645 B
TOML
# 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"
|