examples/awx17/roles/local_docker/templates/credentials.py.j2
raw| 1 | DATABASES = { |
| 2 | 'default': { |
| 3 | 'ATOMIC_REQUESTS': True, |
| 4 | 'ENGINE': 'django.db.backends.postgresql', |
| 5 | 'NAME': "{{ pg_database }}", |
| 6 | 'USER': "{{ pg_username }}", |
| 7 | 'PASSWORD': "{{ pg_password }}", |
| 8 | 'HOST': "{{ pg_hostname | default('postgres') }}", |
| 9 | 'PORT': "{{ pg_port }}", |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | BROADCAST_WEBSOCKET_SECRET = "{{ broadcast_websocket_secret | b64encode }}" |