aurweb/conf/config.dev

64 lines
1.9 KiB
Text

; Configuration file for aurweb development.
;
; Options are implicitly inherited from conf/config.defaults, which lists all
; available options for productions, and their default values. This current file
; overrides only options useful for development, and introduces
; development-specific options too.
[database]
; Options: mysql, sqlite.
backend = mysql
; If using sqlite, set name to the database file path.
name = aurweb
; MySQL database information. User defaults to root for containerized
; testing with mysqldb. This should be set to a non-root user.
user = aur
password = aur
host = localhost
;port = 3306
socket = /var/run/mysqld/mysqld.sock
[options]
aurwebdir = YOUR_AUR_ROOT
aur_location = http://127.0.0.1:8080
disable_http_login = 0
enable-maintenance = 0
localedir = YOUR_AUR_ROOT/web/locale
; In production, salt_rounds should be higher; suggested: 12.
salt_rounds = 4
; See config.defaults comment about cache.
cache = none
; In docker, the memcached host is available. On a user's system,
; this should be set to localhost (most likely).
memcache_servers = memcached:11211
; If cache = 'redis' this address is used to connect to Redis.
redis_address = redis://127.0.0.1
aur_request_ml = aur-requests@localhost
[notifications]
; For development/testing, use /usr/bin/sendmail
sendmail = YOUR_AUR_ROOT/util/sendmail
sender = notify@localhost
reply-to = noreply@localhost
; Single sign-on; see doc/sso.txt.
[sso]
openid_configuration = http://127.0.0.1:8083/auth/realms/aurweb/.well-known/openid-configuration
client_id = aurweb
client_secret =
[php]
; Address PHP should bind when spawned in development mode by aurweb.spawn.
bind_address = 127.0.0.1:8081
; Directory containing aurweb's PHP code, required by aurweb.spawn.
htmldir = YOUR_AUR_ROOT/web/html
[fastapi]
; Address uvicorn should bind when spawned in development mode by aurweb.spawn.
bind_address = 127.0.0.1:8082
; Passphrase FastAPI uses to sign client-side sessions.
session_secret = secret