Use .env file instead of local config.
This commit is contained in:
parent
4110cd5190
commit
e1cb500f99
16 changed files with 517 additions and 98 deletions
25
.env.example
Normal file
25
.env.example
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Database connection setting
|
||||
# This uses the Index library's DSN syntax
|
||||
# Currently Misuzu only supports MariaDB, or Null of course since that does nothing
|
||||
#
|
||||
# For normal TCP connection you can use the following syntax:
|
||||
#DATABASE_DSN="mariadb://username:password@hostname/dbname?charset=utf8mb4"
|
||||
#
|
||||
# For a UNIX socket connection you can use the following syntax:
|
||||
#DATABASE_DSN="mariadb://username:password@:unix:/dbname?socket=/path/to/mysqld.sock&charset=utf8mb4"
|
||||
#
|
||||
# And here's your unsensible default:
|
||||
DATABASE_DSN="null:"
|
||||
|
||||
# Sentry error reporting setting
|
||||
# I have not idea this works, just shove the value Sentry gives you in here.
|
||||
# You can also leave it commented.
|
||||
#SENTRY_DSN="https://6e41e3a2507d1542fd1e9aaf54f05d87@o4505858016870400.ingest.sentry.io/4505858023751680"
|
||||
|
||||
# Domain roles
|
||||
# This assigns what domain has what role, domains can also have multiple roles!
|
||||
# Pairs are split by ;, domain and role pairs are split by =, roles are split by , and if you want a prefix use :
|
||||
# The example below maps everything to localhost for development.
|
||||
# But to make things more understandable, the value for Flashii is also included
|
||||
#DOMAIN_ROLES="flashii.net=main; fii.moe=redirect"
|
||||
DOMAIN_ROLES="localhost=main,redirect:/go"
|
Loading…
Add table
Add a link
Reference in a new issue