x86_64-centos-awx/tools/docker-compose/ansible/roles/sources/templates/database.py.j2
2021-03-02 20:53:43 +08:00

12 lines
324 B
Django/Jinja

DATABASES = {
'default': {
'ATOMIC_REQUESTS': True,
'ENGINE': 'awx.main.db.profiled_pg',
'NAME': "{{ pg_database }}",
'USER': "{{ pg_username }}",
'PASSWORD': "{{ pg_password }}",
'HOST': "{{ pg_hostname | default('postgres') }}",
'PORT': "{{ pg_port }}",
}
}