USER_UID={{ git_user.uid }} USER_GID={{ git_user.group }} GITEA__APP_NAME={{ gitea_vars.app_name }} GITEA__RUN_USER={{ git_user.name }} GITEA__server__ROOT_URL=https://{{ system.hostname }}.{{ system.domain }}/ GITEA__server__Domain={{ system.hostname }}.{{ system.domain }} GITEA__server__SSH_PORT=22 {% if 'service' in gitea_vars %} {% if 'disable_registration' in gitea_vars['service'] %} GITEA__service__DISABLE_REGISTRATION={{ gitea_vars.service.disable_registration }} {% endif %} {% if 'require_signin_view' in gitea_vars['service'] %} GITEA__service__REQUIRE_SIGNIN_VIEW={{ gitea_vars.service.require_signin_view }} {% endif %} {% if 'register_email_confirm' in gitea_vars['service'] %} GITEA__service__REGISTER_EMAIL_CONFIRM={{ gitea_vars.service.register_email_confirm }} {% endif %} {% if 'enable_notify_mail' in gitea_vars['service'] %} GITEA__service__ENABLE_NOTIFY_MAIL={{ gitea_vars.service.enable_notify_mail }} {% endif %} {% if 'default_keep_email_private' in gitea_vars['service'] %} GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE={{ gitea_vars.service.default_keep_email_private }} {% endif %} {% if 'default_allow_create_organization' in gitea_vars['service'] %} GITEA__service__DEFAULT_ALLOW_CREATE_ORGANIZATION ={{ gitea_vars.service.default_allow_create_organization }} {% endif %} {% if 'default_enable_timetracking' in gitea_vars['service'] %} GITEA__service__DEFAULT_ENABLE_TIMETRACKING={{ gitea_vars.service.default_enable_timetracking }} {% endif %} {% endif %} {# /service #} {% if 'mailer' in gitea_vars %} {% if 'enabled' in gitea_vars['mailer'] %} GITEA__mailer__ENABLED={{ gitea_vars.mailer.enabled }} {% endif %} {% if 'from' in gitea_vars['mailer'] %} GITEA__mailer__FROM=git@{{ system.hostname }}.{{ system.domain }} {% endif %} {% endif %} {# /mailer #} {% if 'repository' in gitea_vars %} {% if 'enable_push_create_user' in gitea_vars['repository']%} GITEA__repository__ENABLE_PUSH_CREATE_USER={{ gitea_vars.repository.enable_push_create_user }} {% endif %} {% if 'enable_push_create_org' in gitea_vars['repository']%} GITEA__repository__ENABLE_PUSH_CREATE_ORG={{ gitea_vars.repository.enable_push_create_org }} {% endif %} {% if 'default_push_create_private' in gitea_vars['repository']%} GITEA__repository__DEFAULT_PUSH_CREATE_PRIVATE={{ gitea_vars.repository.default_push_create_private }} {% endif %} {% endif %} {# /repository #} {% if 'attachment' in gitea_vars %} {% if 'enabled' in gitea_vars['attachment'] %} GITEA__attachment__ENABLED={{ gitea_vars.attachment.enabled }} {% endif %} {% if 'allowed_types' in gitea_vars['attachment'] %} GITEA__attachment__ALLOWED_TYPES={{ gitea_vars.attachment.allowed_types }} {% endif %} {% if 'max_size' in gitea_vars['attachment'] %} GITEA__attachment__MAX_SIZE={{ gitea_vars.attachment.max_size }} {% endif %} {% if 'max_files' in gitea_vars['attachment'] %} GITEA__attachment__MAX_FILES={{ gitea_vars.attachment.max_files }} {% endif %} {% if 'storage_type' in gitea_vars['attachment'] %} GITEA__attachment__STORAGE_TYPE={{ gitea_vars.attachment.storage_type }} {% endif %} {% if 'serve_direct' in gitea_vars['attachment'] %} GITEA__attachment__SERVE_DIRECT={{ gitea_vars.attachment.serve_direct }} {% endif %} {% if 'path' in gitea_vars['attachment'] %} GITEA__attachment__PATH={{ gitea_vars.attachment.path }} {% endif %} {% if 'minio_endpoint' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_ENDPOINT={{ gitea_vars.attachment.minio_endpoint }} {% endif %} {% if 'minio_access_key_id' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_ACCESS_KEY_ID={{ gitea_vars.attachment.minio_access_key_id }} {% endif %} {% if 'minio_secret_access_key' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_SECRET_ACCESS_KEY={{ gitea_vars.attachment.minio_secret_access_key }} {% endif %} {% if 'minio_bucket' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_BUCKET={{ gitea_vars.attachment.minio_bucket }} {% endif %} {% if 'minio_location' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_LOCATION={{ gitea_vars.attachment.minio_location }} {% endif %} {% if 'minio_base_path' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_BASE_PATH={{ gitea_vars.attachment.minio_base_path }} {% endif %} {% if 'minio_use_ssl' in gitea_vars['attachment'] %} GITEA__attachment__MINIO_USE_SSL={{ gitea_vars.attachment.minio_use_ssl }} {% endif %} {% endif %} {# /attachment #} {% if 'ssh' in gitea_vars %} {% if 'minimum_key_sizes' in gitea_vars['ssh'] %} {% if 'ed25519' in gitea_vars['ssh']['minimum_key_sizes'] %} GITEA__ssh.minimum_key_sizes__ED25519={{ gitea_vars.ssh.minimum_key_sizes.ed25519 }} {% endif %} {% if 'ecdsa' in gitea_vars['ssh']['minimum_key_sizes'] %} GITEA__ssh.minimum_key_sizes__ECDSA={{ gitea_vars.ssh.minimum_key_sizes.ecdsa }} {% endif %} {% if 'rsa' in gitea_vars['ssh']['minimum_key_sizes'] %} GITEA__ssh.minimum_key_sizes__RSA={{ gitea_vars.ssh.minimum_key_sizes.rsa }} {% endif %} {% if 'dsa' in gitea_vars['ssh']['minimum_key_sizes'] %} GITEA__ssh.minimum_key_sizes__DSA={{ gitea_vars.ssh.minimum_key_sizes.dsa }} {% endif %} {% endif %} {% endif %} {# /ssh #}