ansible-role-forgejo/templates/server.env.j2
Julien Riou 29b5f93b21
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2024-12-21 08:52:45 +01:00

9 lines
415 B
Django/Jinja

{{ ansible_managed | comment }}
USER_UID={{ ansible_facts.getent_passwd.forgejo[1] }}
USER_GID={{ ansible_facts.getent_passwd.forgejo[2] }}
FORGEJO__server__SSH_PORT={{ forgejo_ssh_port }}
FORGEJO__database__DB_TYPE=postgres
FORGEJO__database__HOST=db:5432
FORGEJO__database__NAME="{{ forgejo_db_database }}"
FORGEJO__database__USER="{{ forgejo_db_username }}"
FORGEJO__database__PASSWD="{{ forgejo_db_password }}"