Compare commits

..
Author SHA1 Message Date
fauno f9c47541ce Merge branch 'main' into session 2026-06-05 10:50:40 -03:00
fauno 850a08f42f Merge pull request 'feat: caching settings' (#32) from caching into main
Reviewed-on: #32
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-06-05 13:49:35 +00:00
fauno 73dc9c6fa0 Merge pull request 'fix: stop the running container first coop-cloud/gitea#53' (#33) from shutdown into main
Reviewed-on: #33
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-06-05 13:49:09 +00:00
fauno 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
fauno 65e8718063 fix: stop the running container first coop-cloud/gitea#53 2026-05-19 10:43:38 -03:00
fauno 852903c166 feat: caching settings 2026-05-15 17:00:29 -03:00
fauno b734c56e24 feat: configurable session provider 2026-05-15 16:39:04 -03:00
fauno de6d1a57ac chore: publish 5.3.1+15.0.2-rootless release 2026-05-14 10:05:33 -03:00
fauno 95d8277ab0 fix: upgrade to 15.0.2 2026-05-14 10:02:53 -03:00
fauno b92d0480e2 chore: publish 5.3.0+15.0.0-rootless release 2026-05-14 10:02:32 -03:00
fauno 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
fauno f4b2ed1cd9 chore: publish 5.2.0+15.0.0-rootless release 2026-05-14 10:01:34 -03:00
fauno 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
fauno 80a43c2a00 fix: compose file version 2026-05-06 14:45:20 -03:00
fauno cda9018607 fix: store secret access key as secret 2026-05-06 14:43:00 -03:00
fauno 761e7cafde feat: s3 storage support 2026-05-05 13:41:09 -03:00
fauno 68542fd9d0 fix: app.ini changed location!
https://codeberg.org/forgejo/forgejo/pulls/11098
2026-04-28 10:45:13 -03:00
fauno 996cdcd812 fix: individual reviewers 2026-04-26 19:33:33 -03:00
renovate-bot bcc1b43c42 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15 2026-04-24 22:00:02 +00:00
fauno 0d7d090dbc chore: publish 5.1.2+14.0.4-rootless release 2026-04-13 12:26:53 -03:00
fauno c48aca9e0a fix: upgrade to 14.0.4 2026-04-13 12:25:43 -03:00
fauno 05dcbeed88 chore: publish 5.1.1+14.0.3-rootless release 2026-03-10 11:48:55 -03:00
fauno 9bd561123c fix: upgrade to 14.0.3 2026-03-10 11:47:31 -03:00
fauno fd9abbc314 chore: publish 5.1.0+14.0.1-rootless release 2026-01-20 19:59:07 -03:00
fauno 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
fauno 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
fauno 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
renovate-bot a28e4812f8 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v14 2026-01-18 17:50:43 +00:00
fauno 668b665afb feat: toggle internal registration 2026-01-16 15:52:19 -03:00
fauno 6e8462d494 feat: global limit for repository creation 2026-01-16 15:37:17 -03:00
fauno 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
fauno ab0a3df75f feat: renovate assigns reviewers automatically 2026-01-16 09:59:52 -03:00
fauno 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
fauno bad55853c6 fix: two weeks 2026-01-15 11:59:23 -03:00
fauno 5d8e984ec9 feat: maintainers 2026-01-12 10:15:57 -03:00
fauno 675d6b9347 chore: publish 5.0.3+13.0.4-rootless release 2026-01-10 16:47:55 -03:00
fauno 9696bef17a Merge pull request 'feat: anubis' (#10) from anubis into main
Reviewed-on: #10
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
2026-01-10 17:57:36 +00:00
fauno 670c6d070e Merge branch 'main' into anubis 2026-01-10 00:44:34 -03:00
fauno 51f9ec7564 chore: publish 5.0.2+13.0.4-rootless release 2026-01-10 00:39:54 -03:00
fauno 5a63921823 Merge branch 'main' of https://git.coopcloud.tech/coop-cloud/forgejo 2026-01-10 00:39:21 -03:00
fauno 618dc563b2 Merge branch 'main' into anubis 2026-01-10 00:27:48 -03:00
fauno 865f228137 fix: upgrade to 13.0.4 2026-01-10 00:27:19 -03:00
fauno 8d3a8942d6 doc: readme 2026-01-10 00:25:15 -03:00
p4u1 08551b2972 chore: update .env.sample 2025-12-30 11:32:17 +01:00
fauno 29f71e90c5 feat: anubis 2025-12-24 18:41:16 -03:00
p4u1 64289a49ea chore: publish 5.0.1+13.0.3-rootless release 2025-11-28 12:02:51 +01:00
p4u1 072e0a9bcd Merge pull request 'chore: Configure Renovate' (#1) from renovate/configure into main
Reviewed-on: #1
2025-11-20 18:41:08 +00:00
renovate-bot 7baf5edeee Add renovate.json 2025-11-20 17:45:36 +00:00
p4u1 43c493dd70 chore: publish 5.0.0+13.0.2-rootless release 2025-10-30 17:03:44 +01:00
p4u1 3adf9d3915 upgrade forgejo to 13 2025-10-30 17:01:23 +01:00
p4u1 c0afa0fa48 add ENABLE_INTERNAL_SIGNIN 2025-10-30 17:01:02 +01:00
p4u1 19cf5e34ee chore: publish 4.0.2+12.0.2-rootless release 2025-10-27 21:40:07 +01:00
p4u1 dbf2be1463 add missing secret 2025-10-27 21:39:53 +01:00
p4u1 288f1df668 chore: publish 4.0.1+12.0.2-rootless release 2025-10-27 21:35:28 +01:00
p4u1 32b1979f48 bump app ini version 2025-10-27 21:35:13 +01:00
p4u1 cde0087d69 chore: publish 4.0.0+12.0.2-rootless release 2025-10-27 20:09:00 +01:00
p4u1 ef74971b0e make forgejo the default 2025-10-27 19:53:06 +01:00
p4u1 d86d742ed1 Adds missing access controll headers 2025-10-27 18:29:54 +01:00
fauno 989294173e chore: publish 3.5.2+1.24.2-rootless release 2025-09-01 07:44:54 -03:00
fauno 4e789bf977 fix: forgejo 12.0.2 2025-09-01 07:38:52 -03:00
fauno 485fa32512 chore: publish 3.5.1+1.24.2-rootless release 2025-07-26 01:35:54 -03:00
fauno 54fd30f38a fix: forgejo 12.0.1 2025-07-26 01:33:48 -03:00
fauno 6d586f6ad3 chore: publish 3.5.0+1.24.2-rootless release 2025-07-19 11:42:35 -03:00
fauno 8c9793ace9 feat: upgrade to forgejo 12 2025-07-19 11:41:41 -03:00
3wordchant 4cfc2ac2e0 chore: publish 3.4.0+1.24.2-rootless release 2025-06-25 18:34:34 +01:00
fauno ca4733a0b0 fix: upgrade forgejo to 11.0.2 2025-06-19 10:26:08 -03:00
fauno 5a65ef04c5 Merge pull request 'feat: forgejo 11' (#45) from forgejo into master
Reviewed-on: coop-cloud/gitea#45
2025-06-19 13:21:57 +00:00
3wordchant 270ed7bb93 chore: publish 3.3.1+1.23.8-rootless release 2025-05-16 20:54:29 +02:00
3wordchant b2c9d95e60 Merge pull request 'fix: security release' (#44) from upgrade into master
Reviewed-on: coop-cloud/gitea#44
2025-05-16 18:53:40 +00:00
3wordchant 88b226f713 Merge branch 'master' into upgrade 2025-05-16 18:53:32 +00:00
fauno 94af9cea9e feat: forgejo 11 2025-05-15 14:36:29 -03:00
fauno 85dcf3a0b1 Merge pull request 'forgejo upgrade' (#41) from forgejo into master
Reviewed-on: coop-cloud/gitea#41
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
2025-05-15 17:27:24 +00:00
fauno 3840e87f2f fix: security release
https://blog.gitea.com/release-of-1.23.8/
2025-05-15 14:24:52 -03:00
fauno 777aad5da4 Merge branch 'master' into forgejo 2025-05-15 14:22:53 -03:00
fauno 5350ce207f Merge pull request 'feat: lfs server' (#42) from lfs into master
Reviewed-on: coop-cloud/gitea#42
2025-05-15 17:22:06 +00:00
cas 2bfec14654 Update .drone.yml 2025-04-10 10:50:49 -07:00
fauno b44e18f063 feat: configuration by forge 2025-02-20 09:17:58 -03:00
fauno 77624221b4 feat: lfs server 2025-02-18 15:44:59 -03:00
fauno ce632c8e5f Merge branch 'master' of https://git.coopcloud.tech/coop-cloud/gitea 2025-02-13 12:29:31 -03:00
fauno cac5c8d694 feat: upgrade to forgejo 10.0.1 2025-02-13 12:29:09 -03:00
15 changed files with 146 additions and 24 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ steps:
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-recipes-catalogue-json
- toolshed/auto-recipes-catalogue-json
trigger:
event: tag
+26 -5
View File
@@ -1,6 +1,6 @@
TYPE=gitea
TYPE=forgejo
DOMAIN=gitea.example.com
DOMAIN=forgejo.example.com
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
ENABLE_BACKUPS=true
@@ -8,11 +8,14 @@ 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
GITEA_DOMAIN=git.example.com
# Anubis
# COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml"
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
@@ -33,6 +36,12 @@ GITEA_DEFAULT_ORG_VISIBILITY=limited
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_CACHE_ADAPTER=memory
GITEA_CACHE_HOST=
GITEA_CACHE_ITEM_TTL=16h
GITEA_REPO_UPLOAD_ENABLED=true
GITEA_REPO_UPLOAD_ALLOWED_TYPES=*/*
@@ -51,6 +60,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
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).
+12 -5
View File
@@ -1,11 +1,12 @@
# Gitea
# Forgejo
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/gitea/status.svg)](https://build.coopcloud.tech/coop-cloud/gitea)
[![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**: [`gitea/gitea`](https://hub.docker.com/gitea/gitea), 4, upstream
* **Image**: [`forgejo/forgejo`](https://codeberg.org/forgejo/-/packages/container/forgejo/13-rootless), 4, upstream
* **Healthcheck**: Yes
* **Backups**: Yes
* **Email**: Yes
@@ -17,7 +18,7 @@
1. Set up Docker Swarm and [`abra`][abra]
2. Deploy [`coop-cloud/traefik`][cc-traefik]
3. `abra app new gitea --secrets` (optionally with `--pass` if you'd like
3. `abra app new forgejo --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`)
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
@@ -28,7 +29,7 @@
Run
```bash
abra app run YOURAPPNAME app gitea -c /etc/gitea/app.ini admin user create --username USERNAME --admin --random-password --email EMAIL
abra app run YOURAPPNAME app forgejo -c /etc/gitea/app.ini admin user create --username USERNAME --admin --random-password --email EMAIL
```
See the [Gitea command-line documentation](https://docs.gitea.io/en-us/command-line/) for more options. Make sure not to forget the `-c /etc/gitea/app.ini`.
@@ -59,3 +60,9 @@ ssh -T -p 2222 git@my.gitea.example.com
```
Note that gitea should be configured to listen to port 2222, i.e. `GITEA_SSH_PORT=2222` in the gitea config.
## Protect Forgejo from scrapers with Anubis
Uncomment the Anubis compose file from the `.env` file and re-deploy the
app. Don't forget to actually [enable Anubis on the Traefik app
too](https://recipes.coopcloud.tech/traefik)!
+1 -1
View File
@@ -1,4 +1,4 @@
export APP_INI_VERSION=v20
export APP_INI_VERSION=v26
export DOCKER_SETUP_SH_VERSION=v1
export PG_BACKUP_VERSION=v1
+28
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" }}
@@ -28,6 +44,7 @@ DEFAULT_USER_VISIBILITY = {{ env "GITEA_DEFAULT_USER_VISIBILITY" }}
ALLOWED_USER_VISIBILITY_MODES = {{ env "GITEA_ALLOWED_USER_VISIBILITY_MODES" }}
DEFAULT_ORG_VISIBILITY = {{ env "GITEA_DEFAULT_ORG_VISIBILITY" }}
REQUIRE_SIGNIN_VIEW = {{ env "GITEA_REQUIRE_SIGNIN_VIEW" }}
ENABLE_INTERNAL_SIGNIN = {{ env "GITEA_ENABLE_INTERNAL_SIGNIN" }}
[openid]
ENABLE_OPENID_SIGNIN = {{ env "GITEA_ENABLE_OPENID_SIGNIN" }}
@@ -37,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" }}
@@ -60,6 +78,8 @@ SSH_DOMAIN = {{ env "GITEA_DOMAIN" }}
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" }}
LFS_JWT_SECRET = {{ secret "lfs_jwt_secret" }}
[security]
INSTALL_LOCK = true
@@ -106,3 +126,11 @@ MODE=console
LEVEL=WARN
STACKTRACE_LEVEL=None
ENABLE_XORM_LOG=false
[session]
PROVIDER = {{ env "GITEA_SESSION_PROVIDER" }}
[cache]
ADAPTER = {{ env "GITEA_CACHE_ADAPTER" }}
HOST = {{ env "GITEA_CACHE_HOST" }}
ITEM_TTL = {{ env "GITEA_CACHE_ITEM_TTL" }}
+7
View File
@@ -0,0 +1,7 @@
---
version: "3.8"
services:
app:
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=anubis,${STACK_NAME}_cors"
-5
View File
@@ -1,5 +0,0 @@
version: '3.8'
services:
app:
image: codeberg.org/forgejo/forgejo:10.0.0-rootless
+1 -1
View File
@@ -10,7 +10,7 @@ services:
secrets:
- db_password
db:
image: postgres:15.10
image: postgres:15.13
deploy:
labels:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
+10
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
+13 -6
View File
@@ -3,10 +3,10 @@ version: "3.8"
services:
app:
image: "gitea/gitea:1.23.1-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
@@ -14,8 +14,10 @@ services:
- internal_token
- jwt_secret
- secret_key
- 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
@@ -52,9 +54,11 @@ services:
- GITEA_DEFAULT_ORG_VISIBILITY
- GITEA_REQUIRE_SIGNIN_VIEW
- 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:
@@ -69,7 +73,7 @@ services:
deploy:
update_config:
failure_action: rollback
order: start-first
order: stop-first
labels:
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
- "traefik.enable=true"
@@ -82,10 +86,11 @@ services:
- "traefik.tcp.services.${STACK_NAME}-ssh.loadbalancer.server.port=${GITEA_SSH_PORT}"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}_cors"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolallowmethods=GET,OPTIONS,PUT"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolallowheaders=content-type,authorization"
- "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=3.3.0+1.23.1-rootless
- coop-cloud.${STACK_NAME}.version=5.3.1+15.0.2-rootless
networks:
@@ -113,7 +118,9 @@ secrets:
secret_key:
name: ${STACK_NAME}_secret_key_${SECRET_SECRET_KEY_VERSION}
external: true
lfs_jwt_secret:
name: ${STACK_NAME}_lfs_jwt_secret_${SECRET_LFS_JWT_SECRET_VERSION}
external: true
volumes:
data:
config:
+3
View File
@@ -0,0 +1,3 @@
This recipe was forked from the gitea recipe and should be a drop in replacement.
You can remove this line from your app.env COMPOSE_FILE="$COMPOSE_FILE:compose.forgejo.yml"
+1
View File
@@ -0,0 +1 @@
For breaking changes see: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.0.md
+1
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
+10
View File
@@ -0,0 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"reviewers": [
"fauno",
"p4u1"
]
}