mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-29 01:14:51 +09:00
Organize settings.yml and add mail section
This commit is contained in:
parent
fc556e0eb3
commit
c6d49da143
1 changed files with 45 additions and 0 deletions
|
@ -1,8 +1,16 @@
|
||||||
# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by
|
# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by
|
||||||
# the specified environment variable. See the Yesod wiki, Configuration page.
|
# the specified environment variable. See the Yesod wiki, Configuration page.
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Static files
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
static-dir: "_env:STATIC_DIR:static"
|
static-dir: "_env:STATIC_DIR:static"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# HTTP server
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
# any IPv4 host
|
# any IPv4 host
|
||||||
host: "_env:HOST:*4"
|
host: "_env:HOST:*4"
|
||||||
|
|
||||||
|
@ -16,6 +24,10 @@ ip-from-header: "_env:IP_FROM_HEADER:false"
|
||||||
# Uncomment to set an explicit approot
|
# Uncomment to set an explicit approot
|
||||||
#approot: "_env:APPROOT:http://localhost:3000"
|
#approot: "_env:APPROOT:http://localhost:3000"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Development
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
# Optional values with the following production defaults.
|
# Optional values with the following production defaults.
|
||||||
# In development, they default to the inverse.
|
# In development, they default to the inverse.
|
||||||
#
|
#
|
||||||
|
@ -26,6 +38,10 @@ ip-from-header: "_env:IP_FROM_HEADER:false"
|
||||||
# mutable-static: false
|
# mutable-static: false
|
||||||
# skip-combining: false
|
# skip-combining: false
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# SQL database
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
# If you need a numeric value (e.g. 123) to parse as a String, wrap it in
|
# If you need a numeric value (e.g. 123) to parse as a String, wrap it in
|
||||||
# single quotes (e.g. "_env:PGPASS:'123'"). See the Yesod wiki, Configuration
|
# single quotes (e.g. "_env:PGPASS:'123'"). See the Yesod wiki, Configuration
|
||||||
# page.
|
# page.
|
||||||
|
@ -38,8 +54,37 @@ database:
|
||||||
database: "_env:PGDATABASE:vervis_dev"
|
database: "_env:PGDATABASE:vervis_dev"
|
||||||
poolsize: "_env:PGPOOLSIZE:10"
|
poolsize: "_env:PGPOOLSIZE:10"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Version control repositories
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
repo-dir: repos
|
repo-dir: repos
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# SSH server
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
ssh-port: 5022
|
ssh-port: 5022
|
||||||
ssh-key-file: config/ssh-host-key
|
ssh-key-file: config/ssh-host-key
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Accounts
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
registration: false
|
registration: false
|
||||||
max-accounts: 3
|
max-accounts: 3
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Mail
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
# Optional SMTP server settings for sending email. If not provided, no email
|
||||||
|
# will be sent. The login field is optional, provide if you need SMTP
|
||||||
|
# authentication.
|
||||||
|
|
||||||
|
# smtp:
|
||||||
|
# login:
|
||||||
|
# user: "_env:SMTPUSER:vervis_dev"
|
||||||
|
# password: "_env:SMTPPASS:vervis_dev_password"
|
||||||
|
# host: "_env:SMTPHOST:localhost"
|
||||||
|
# port: "_env:SMTPPORT:587"
|
||||||
|
|
Loading…
Reference in a new issue