mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-06-24 14:01:00 -04:00
963dbf8ab5
Wire CONTAINER_DEFAULT_DATABASE_TYPE, CONTAINER_PROTOCOL, CONTAINER_WEB_SERVER_PROTOCOL, WEB_PORT, ENV_PORTS, and DATABASE_DIR_SQLITE to the correct gitea init variables so all REPLACE_* tokens in app.ini are substituted correctly on first container start. - rootfs/usr/local/etc/docker/init.d/08-gitea.sh: map CONTAINER_DEFAULT_DATABASE_TYPE → DATABASE_SERVICE_TYPE + GITEA_SQL_TYPE (sqlite→sqlite3, postgres, mysql, mssql); map CONTAINER_PROTOCOL/CONTAINER_WEB_SERVER_PROTOCOL → SERVICE_PROTOCOL; map WEB_PORT/ENV_PORTS → SERVICE_PORT; initialise DATABASE_DIR from DATABASE_DIR_SQLITE env var; fix CUSTOM_PATH export to point at $CONF_DIR/custom .claude/settings.local.json rootfs/usr/local/etc/docker/init.d/08-gitea.sh
14 lines
720 B
JSON
14 lines
720 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(script-lint *)",
|
|
"WebFetch(domain:docs.gitea.com)",
|
|
"Bash(cp /tmp/templates/gitea/rootfs/usr/local/bin/entrypoint.sh /root/Projects/github/casjaysdevdocker/gitea/rootfs/usr/local/bin/entrypoint.sh)",
|
|
"Bash(cp /tmp/templates/gitea/rootfs/usr/local/etc/docker/functions/entrypoint.sh /root/Projects/github/casjaysdevdocker/gitea/rootfs/usr/local/etc/docker/functions/entrypoint.sh)",
|
|
"Bash(gen-dockerfile --help)",
|
|
"Bash(rm -f /root/Projects/github/casjaysdevdocker/gitea/rootfs/usr/local/etc/docker/init.d/.git/COMMIT_MESS)",
|
|
"Bash(rmdir /root/Projects/github/casjaysdevdocker/gitea/rootfs/usr/local/etc/docker/init.d/.git)"
|
|
]
|
|
}
|
|
}
|