mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 14:02:12 +08:00
26 lines
1.0 KiB
Django/Jinja
26 lines
1.0 KiB
Django/Jinja
# SQLALCHEMY connection url. Note that using sqlite has serious limits WRT to
|
|
# alembic migrations support (so it is discouraged in production). Make sure
|
|
# you have installed appropriate libraries for desired SQL dialect, for
|
|
# appropriate python version!
|
|
#
|
|
#For PostgreSQL connection without password using unix socket auth method.
|
|
#db_url: 'postgresql://resalloc@/resalloc'
|
|
#For PostgreSQL listening on host/port, using password.
|
|
{% if env == 'staging' %}
|
|
db_url: 'postgresql://openscanhub_resalloc:{{ openscanhub_resalloc_db_password_stg }}@db01.stg.{{datacenter}}.fedoraproject.org:5432/openscanhub_resalloc'
|
|
{% else %}
|
|
db_url: 'postgresql://openscanhub_resalloc:{{ openscanhub_resalloc_db_password }}@db01.{{datacenter}}.fedoraproject.org:5432/openscanhub_resalloc'
|
|
{% endif %}
|
|
#db_url: 'sqlite:////var/lib/resallocserver/db.sqlite'
|
|
|
|
logdir: '/var/log/resallocserver'
|
|
|
|
# Hostname to make the xmlrpc server listen on.
|
|
hostname: '0.0.0.0'
|
|
|
|
# Port to make the xmlrpc server listen on.
|
|
#port: 49100
|
|
|
|
# Set to 'debug' to get more verbose logging.
|
|
loglevel: debug
|