diff --git a/.env.example b/.env.example index a8596bc..927ff49 100644 --- a/.env.example +++ b/.env.example @@ -19,3 +19,4 @@ HOP_HTTP_BIND=0.0.0.0 HOP_HTTP_PORT=8080 GITEA_DISABLE_SSH=false GITEA_DISABLE_REGISTRATION=false +GITEA_ACTIONS_ENABLED=true diff --git a/compose.yaml b/compose.yaml index e6aba17..cae3f52 100644 --- a/compose.yaml +++ b/compose.yaml @@ -36,6 +36,7 @@ services: GITEA__server__SSH_PORT: ${GITEA_SSH_PORT:-2222} GITEA__server__DISABLE_SSH: ${GITEA_DISABLE_SSH:-false} GITEA__service__DISABLE_REGISTRATION: ${GITEA_DISABLE_REGISTRATION:-false} + GITEA__actions__ENABLED: ${GITEA_ACTIONS_ENABLED:-true} GITEA__security__INSTALL_LOCK: "true" GITEA__webhook__ALLOWED_HOST_LIST: control-plane ports: diff --git a/docs/production-deployment.md b/docs/production-deployment.md index efdb7ad..1cd0c0f 100644 --- a/docs/production-deployment.md +++ b/docs/production-deployment.md @@ -15,6 +15,7 @@ HOP_HTTP_BIND=127.0.0.1 GITEA_SSH_BIND=127.0.0.1 GITEA_DISABLE_SSH=true GITEA_DISABLE_REGISTRATION=true +GITEA_ACTIONS_ENABLED=false ``` Start the services and install the Hop-native Gitea assets: