From 6a0339d3f27397296b44a4cb29c2cde8050be682 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 16 Jun 2026 18:33:21 -0300 Subject: [PATCH] BREAKING CHANGE: remove forgejo --- .env.sample | 4 ---- app.ini.tmpl | 2 +- compose.forgejo.yml | 13 ------------- compose.yml | 1 - 4 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 compose.forgejo.yml diff --git a/.env.sample b/.env.sample index 4176c93..aef67bc 100644 --- a/.env.sample +++ b/.env.sample @@ -8,10 +8,6 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml" # COMPOSE_FILE="$COMPOSE_FILE:compose.sqlite3.yml" # COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml" -# Enable to use forgejo instead of gitea -# COMPOSE_FILE="$COMPOSE_FILE:compose.forgejo.yml" -# SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43 - # Enable Git LFS on plain gitea (not needed with forgejo, which bundles it). # Mounts the lfs_jwt_secret secret and sets GITEA_LFS_START_SERVER=true. # COMPOSE_FILE="$COMPOSE_FILE:compose.lfs.yml" diff --git a/app.ini.tmpl b/app.ini.tmpl index fbd09a6..49979eb 100644 --- a/app.ini.tmpl +++ b/app.ini.tmpl @@ -61,7 +61,7 @@ SSH_LISTEN_PORT = {{ env "GITEA_SSH_PORT" }} SSH_PORT = {{ env "GITEA_SSH_PORT" }} START_SSH_SERVER = true LFS_START_SERVER = {{ env "GITEA_LFS_START_SERVER" }} -{{ if or (eq (env "FORGE") "forgejo") (eq (env "GITEA_LFS_START_SERVER") "true") }} +{{ if (eq (env "GITEA_LFS_START_SERVER") "true") }} LFS_JWT_SECRET = {{ secret "lfs_jwt_secret" }} {{ end }} diff --git a/compose.forgejo.yml b/compose.forgejo.yml deleted file mode 100644 index acc0376..0000000 --- a/compose.forgejo.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: '3.8' - -services: - app: - image: codeberg.org/forgejo/forgejo:12.0.2-rootless - environment: - - FORGE=forgejo - secrets: - - lfs_jwt_secret -secrets: - lfs_jwt_secret: - name: ${STACK_NAME}_lfs_jwt_secret_${SECRET_LFS_JWT_SECRET_VERSION} - external: true diff --git a/compose.yml b/compose.yml index 88265c2..c6140a4 100644 --- a/compose.yml +++ b/compose.yml @@ -15,7 +15,6 @@ services: - jwt_secret - secret_key environment: - - FORGE=gitea - GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION - GITEA_APP_NAME - GITEA_AUTO_WATCH_NEW_REPOS -- 2.49.0