Files
fedora-infra_ansible/roles/openshift-apps/openscanhub/templates/etc-resallocserver-server.yaml.j2
2025-06-27 12:25:21 +02:00

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