Compare commits

..

29 Commits

Author SHA1 Message Date
f
aa0de92e5b fix: change default session provider to db
this should help with folks having to log in again after restarts
2026-05-20 10:16:33 -03:00
f
b734c56e24 feat: configurable session provider 2026-05-15 16:39:04 -03:00
f
de6d1a57ac chore: publish 5.3.1+15.0.2-rootless release 2026-05-14 10:05:33 -03:00
f
95d8277ab0 fix: upgrade to 15.0.2 2026-05-14 10:02:53 -03:00
f
b92d0480e2 chore: publish 5.3.0+15.0.0-rootless release 2026-05-14 10:02:32 -03:00
1a0a5705e5 Merge pull request 'feat: s3 storage support' (#28) from s3 into main
Reviewed-on: #28
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-05-14 13:02:08 +00:00
f
f4b2ed1cd9 chore: publish 5.2.0+15.0.0-rootless release 2026-05-14 10:01:34 -03:00
6cbbb8bc94 Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15' (#27) from renovate/codeberg.org-forgejo-forgejo-15.x into main
Reviewed-on: #27
Reviewed-by: fauno <fauno@sutty.coop.ar>
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-05-14 13:00:25 +00:00
f
80a43c2a00 fix: compose file version 2026-05-06 14:45:20 -03:00
f
cda9018607 fix: store secret access key as secret 2026-05-06 14:43:00 -03:00
f
761e7cafde feat: s3 storage support 2026-05-05 13:41:09 -03:00
f
68542fd9d0 fix: app.ini changed location!
https://codeberg.org/forgejo/forgejo/pulls/11098
2026-04-28 10:45:13 -03:00
f
996cdcd812 fix: individual reviewers 2026-04-26 19:33:33 -03:00
bcc1b43c42 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15 2026-04-24 22:00:02 +00:00
f
0d7d090dbc chore: publish 5.1.2+14.0.4-rootless release 2026-04-13 12:26:53 -03:00
f
c48aca9e0a fix: upgrade to 14.0.4 2026-04-13 12:25:43 -03:00
f
05dcbeed88 chore: publish 5.1.1+14.0.3-rootless release 2026-03-10 11:48:55 -03:00
f
9bd561123c fix: upgrade to 14.0.3 2026-03-10 11:47:31 -03:00
f
fd9abbc314 chore: publish 5.1.0+14.0.1-rootless release 2026-01-20 19:59:07 -03:00
1891af606c Merge pull request 'feat: global limit for repository creation' (#17) from max-creation-limit into main
Reviewed-on: #17
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-01-20 22:55:54 +00:00
967dfde393 Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v14' (#23) from renovate/codeberg.org-forgejo-forgejo-14.x into main
Reviewed-on: #23
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-01-20 22:55:42 +00:00
ae0c540f44 Merge pull request 'feat: toggle internal registration' (#18) from internal-registration into main
Reviewed-on: #18
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-01-20 22:55:15 +00:00
a28e4812f8 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v14 2026-01-18 17:50:43 +00:00
f
668b665afb feat: toggle internal registration 2026-01-16 15:52:19 -03:00
f
6e8462d494 feat: global limit for repository creation 2026-01-16 15:37:17 -03:00
af279eeab8 Merge pull request 'feat: renovate assigns reviewers automatically' (#16) from reviewers into main
Reviewed-on: #16
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-01-16 18:23:32 +00:00
df61cea056 Merge pull request 'feat: maintainers' (#14) from maintainers into main
Reviewed-on: #14
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-01-16 06:16:02 +00:00
f
bad55853c6 fix: two weeks 2026-01-15 11:59:23 -03:00
f
5d8e984ec9 feat: maintainers 2026-01-12 10:15:57 -03:00
9 changed files with 87 additions and 7 deletions

View File

@ -15,6 +15,7 @@ SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43
GITEA_DOMAIN="${DOMAIN}"
GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION=true
GITEA_ALLOW_ONLY_INTERNAL_REGISTRATION=false
GITEA_APP_NAME="Git with solidaritea"
GITEA_AUTO_WATCH_NEW_REPOS=false
GITEA_DISABLE_REGISTRATION=false
@ -36,6 +37,8 @@ GITEA_REQUIRE_SIGNIN_VIEW=true
GITEA_ENABLE_PUSH_CREATE_USER=false
GITEA_ENABLE_PUSH_CREATE_ORG=false
GITEA_LFS_START_SERVER=false
GITEA_MAX_CREATION_LIMIT=-1
GITEA_SESSION_PROVIDER=db
GITEA_REPO_UPLOAD_ENABLED=true
GITEA_REPO_UPLOAD_ALLOWED_TYPES=*/*
@ -54,6 +57,18 @@ SECRET_DB_ROOT_PASSWORD_VERSION=v1
SECRET_JWT_SECRET_VERSION=v1 # length=43
SECRET_SECRET_KEY_VERSION=v1 # length=64
# Change to "minio" an configure to enable S3 storage
# https://forgejo.org/docs/latest/admin/setup/storage/
GITEA_STORAGE_TYPE=local
# MINIO_ENDPOINT=
# MINIO_ACCESS_KEY_ID=
# SECRET_MINIO_SECRET_ACCESS_KEY_VERSION=v1
# MINIO_BUCKET=
# MINIO_BUCKET_LOOKUP=auto
# MINIO_LOCATION=garage
# MINIO_CHECKSUM_ALGORITHM=default
# COMPOSE_FILE="$COMPOSE_FILE:compose.s3.yml"
# SMTP Mailer
# COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
# GITEA_SMTP_MAILER_ENABLED=1

32
MAINTENANCE.md Normal file
View File

@ -0,0 +1,32 @@
# Forgejo Recipe Maintenance
All contributions should be made via a pull request. This is to ensure a
certain quality and consistency, that others can rely on.
## Maintainer Responsibilities
A recipe maintainer has the following responsibilities:
- Respond to pull requests / issues within two weeks
- Make image security updates within a day
- Make image patch / minor updates within a week
- Make image major updates within a month
In order to fullfill these responsibilities a recipe maintainer:
- Has to watch the repository (to get notifications)
- Needs to make sure renovate is configured properly
## Pull Requests
A pull request can be merged if it is approved by at least one maintainer. For
pull requests opened by a maintainer they need to be approved by another
maintainer. Even though it is okay to merge a pull request with one approval, it
is always better if all maintainers looked at the pull request and approved it.
## Become a maintainer
Everyone can apply to be a recipe maintainer:
1. Watch the repository to always get updates
2. Simply add your self to the list in the [README.md](./README.md) and open a new pull request with the change.
3. Once the pull request gets merged you will be added to the [forgejo maintainers team](https://git.coopcloud.tech/org/coop-cloud/teams/forgejo-maintainers).

View File

@ -3,6 +3,7 @@
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/forgejo/status.svg)](https://build.coopcloud.tech/coop-cloud/forgejo)
<!-- metadata -->
* **Maintainer**: [@p4u1](https://git.coopcloud.tech/p4u1), [@fauno](https://git.coopcloud.tech/fauno)
* **Category**: Development
* **Status**: 5
* **Image**: [`forgejo/forgejo`](https://codeberg.org/forgejo/-/packages/container/forgejo/13-rootless), 4, upstream

View File

@ -1,4 +1,4 @@
export APP_INI_VERSION=v23
export APP_INI_VERSION=v26
export DOCKER_SETUP_SH_VERSION=v1
export PG_BACKUP_VERSION=v1

View File

@ -16,8 +16,24 @@ PATH = {{ env "GITEA_PATH" }}
DISABLE_GRAVATAR = {{ env "GITEA_DISABLE_GRAVATAR" }}
ENABLE_FEDERATED_AVATAR = {{ env "GITEA_ENABLE_FEDERATED_AVATAR" }}
[storage]
STORAGE_TYPE = {{ env "GITEA_STORAGE_TYPE" }}
{{ if eq (env "GITEA_STORAGE_TYPE") "minio" }}
SERVE_DIRECT = false
MINIO_ENDPOINT = {{ env "MINIO_ENDPOINT" }}
MINIO_ACCESS_KEY_ID = {{ env "MINIO_ACCESS_KEY_ID" }}
MINIO_SECRET_ACCESS_KEY = {{ secret "minio_secret_access_key" }}
MINIO_BUCKET = {{ env "MINIO_BUCKET" }}
MINIO_BUCKET_LOOKUP = {{ env "MINIO_BUCKET_LOOKUP" }}
MINIO_LOCATION = {{ env "MINIO_LOCATION" }}
MINIO_USE_SSL = true
MINIO_INSECURE_SKIP_VERIFY = false
MINIO_CHECKSUM_ALGORITHM = {{ env "MINIO_CHECKSUM_ALGORITHM" }}
{{ end }}
[service]
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ env "GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION" }}
ALLOW_ONLY_INTERNAL_REGISTRATION = {{ env "GITEA_ALLOW_ONLY_INTERNAL_REGISTRATION" }}
AUTO_WATCH_NEW_REPOS = {{ env "GITEA_AUTO_WATCH_NEW_REPOS" }}
DISABLE_REGISTRATION = {{ env "GITEA_DISABLE_REGISTRATION" }}
ENABLE_NOTIFY_MAIL = {{ env "GITEA_ENABLE_NOTIFY_MAIL" }}
@ -38,6 +54,7 @@ ENABLE_OPENID_SIGNUP = {{ env "GITEA_ENABLE_OPENID_SIGNUP" }}
DEFAULT_BRANCH = main
ENABLE_PUSH_CREATE_USER = {{ env "GITEA_ENABLE_PUSH_CREATE_USER" }}
ENABLE_PUSH_CREATE_ORG = {{ env "GITEA_ENABLE_PUSH_CREATE_ORG" }}
MAX_CREATION_LIMIT = {{ env "GITEA_MAX_CREATION_LIMIT" }}
[repository.upload]
ENABLED = {{ env "GITEA_REPO_UPLOAD_ENABLED" }}
@ -109,3 +126,6 @@ MODE=console
LEVEL=WARN
STACKTRACE_LEVEL=None
ENABLE_XORM_LOG=false
[session]
PROVIDER = {{ env "GITEA_SESSION_PROVIDER" }}

10
compose.s3.yml Normal file
View File

@ -0,0 +1,10 @@
---
version: "3.8"
services:
app:
secrets:
- minio_secret_access_key
secrets:
minio_secret_access_key:
name: ${STACK_NAME}_minio_secret_access_key_${SECRET_MINIO_SECRET_ACCESS_KEY_VERSION}
external: true

View File

@ -3,10 +3,10 @@ version: "3.8"
services:
app:
image: codeberg.org/forgejo/forgejo:13.0.4-rootless
image: codeberg.org/forgejo/forgejo:15.0.2-rootless
configs:
- source: app_ini
target: /etc/gitea/app.ini
target: /var/lib/gitea/custom/conf/app.ini
- source: docker_setup_sh
target: /usr/local/bin/docker-setup.sh
mode: 0555
@ -17,6 +17,7 @@ services:
- lfs_jwt_secret
environment:
- GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION
- GITEA_ALLOW_ONLY_INTERNAL_REGISTRATION
- GITEA_APP_NAME
- GITEA_AUTO_WATCH_NEW_REPOS
- GITEA_DISABLE_REGISTRATION
@ -55,9 +56,9 @@ services:
- GITEA__oauth2__REFRESH_TOKEN_EXPIRATION_TIME
- GITEA_LFS_START_SERVER=${GITEA_LFS_START_SERVER:-false}
- GITEA_ENABLE_INTERNAL_SIGNIN
- GITEA_MAX_CREATION_LIMIT=${GITEA_MAX_CREATION_LIMIT:--1}
volumes:
- data:/var/lib/gitea
- config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
@ -89,7 +90,7 @@ services:
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true"
- coop-cloud.${STACK_NAME}.version=5.0.3+13.0.4-rootless
- coop-cloud.${STACK_NAME}.version=5.3.1+15.0.2-rootless
networks:
@ -123,4 +124,3 @@ secrets:
volumes:
data:
config:

View File

@ -0,0 +1 @@
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/14.0.0.md https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/14.0.1.md

View File

@ -4,6 +4,7 @@
"config:recommended"
],
"reviewers": [
"team:forgejo-maintainers"
"fauno",
"p4u1"
]
}