Previously, this formula generated two configuration files, a global one for database and secrets setup and a custom one for all other settings in `custom/conf/app.ini`. This did not work as intended.
107 lines
3.0 KiB
JSON
107 lines
3.0 KiB
JSON
{
|
|
"template": "https://github.com/lkubb/salt-template-formula",
|
|
"commit": "7dea11a9bc3cb4827bc8fda80a30271353ab3e09",
|
|
"checkout": null,
|
|
"context": {
|
|
"cookiecutter": {
|
|
"_extensions": [
|
|
"local_extensions.YAMLDumper"
|
|
],
|
|
"_jinja2_env_vars": {
|
|
"block_start_string": "{!",
|
|
"block_end_string": "!}",
|
|
"variable_start_string": "{=",
|
|
"variable_end_string": "=}",
|
|
"comment_start_string": "{@",
|
|
"comment_end_string": "@}"
|
|
},
|
|
"name": "Gitea",
|
|
"abbr": "gitea",
|
|
"abbr_pysafe": "gitea",
|
|
"pkg": "gitea",
|
|
"needs_repo": "",
|
|
"config": "/etc/gitea/app.ini",
|
|
"service": "gitea",
|
|
"subcomponent": "",
|
|
"subcomponent_config": "",
|
|
"git_username": "lkubb",
|
|
"_lookup": {
|
|
"paths": {
|
|
"bin": "/opt/gitea",
|
|
"conf": "/etc/gitea",
|
|
"custom": "/var/lib/gitea/custom",
|
|
"data": "/var/lib/gitea/data",
|
|
"home": "/var/lib/gitea/home",
|
|
"internal_token_uri": "file:///etc/gitea/internal_token",
|
|
"log": "/var/log/gitea",
|
|
"repos": "/var/lib/gitea/data/gitea-repositories",
|
|
"work": "/var/lib/gitea"
|
|
},
|
|
"requirements": [
|
|
"git",
|
|
"gpg",
|
|
"python-gnupg"
|
|
],
|
|
"shell": "/bin/bash",
|
|
"user": "git",
|
|
"group": "git",
|
|
"gpg": {
|
|
"key": "7C9E68152594688862D62AF62D9AE806EC1592E2",
|
|
"keyserver": "keys.openpgp.org"
|
|
},
|
|
"pkg": {
|
|
"latest": "https://dl.gitea.io/gitea/version.json",
|
|
"sig": "https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-{arch}.asc",
|
|
"source": "https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-{arch}",
|
|
"source_hash": "https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-{arch}.sha256"
|
|
}
|
|
},
|
|
"_settings": {
|
|
"version": "latest",
|
|
"service": {
|
|
"requires_mount": [],
|
|
"socket_activation": false,
|
|
"wants": []
|
|
},
|
|
"config": {
|
|
"database": {
|
|
"db_type": "sqlite3",
|
|
"name": "gitea",
|
|
"user": "root",
|
|
"password": "hunter1"
|
|
},
|
|
"default": {
|
|
"app_name": "Gitea",
|
|
"run_user": "git",
|
|
"run_mode": "prod"
|
|
},
|
|
"oauth2": {
|
|
"jwt_secret": ""
|
|
},
|
|
"security": {
|
|
"internal_token": "",
|
|
"secret_key": ""
|
|
},
|
|
"server": {
|
|
"protocol": "http",
|
|
"domain": "localhost",
|
|
"http_addr": "0.0.0.0",
|
|
"http_port": 3000,
|
|
"lfs_jwt_secret": ""
|
|
},
|
|
"log": {
|
|
"mode": "console",
|
|
"level": "Info",
|
|
"stacktrace_level": "None"
|
|
},
|
|
"repository.signing": {
|
|
"signing_key": "default"
|
|
}
|
|
}
|
|
},
|
|
"_template": "https://github.com/lkubb/salt-template-formula"
|
|
}
|
|
},
|
|
"directory": null
|
|
}
|