mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
WAIT_FOR_TIMEOUT is an iteration count, not seconds, and CNG wait-for-deps leaks one postgres connection per iteration (establish_connection, never disconnected). At 1800 iterations of the 1s default the dedicated instance's non-superuser slots filled with idle gitlab connections before migrations could claim one, deadlocking the deploy. 60 iterations of 30s keeps the 30-minute budget at a thirtieth of the leak rate. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
11 lines
310 B
Django/Jinja
11 lines
310 B
Django/Jinja
{% include 'roles/sys-svc-container/templates/env.j2' %}
|
|
|
|
GITLAB_HOST={{ GITLAB_HOSTNAME }}
|
|
GITLAB_PORT={{ GITLAB_WEB_PORT }}
|
|
GITLAB_SSH_PORT={{ GITLAB_SSH_PORT }}
|
|
WAIT_FOR_TIMEOUT=60
|
|
SLEEP_DURATION=30
|
|
SIDEKIQ_TIMEOUT=25
|
|
ENABLE_BOOTSNAP=true
|
|
GITLAB_ROOT_PASSWORD={{ GITLAB_INIT_ROOT_PASSWORD | dotenv_quote }}
|