Compare commits

..
Author SHA1 Message Date
fauno a6d7f630f9 chore: publish 6.0.2+17.0.1-rootless release 2026-10-28 10:47:04 -03:00
fauno 6f82caf9e2 fix: forgot to update the app.ini version 2026-10-28 10:44:18 -03:00
fauno d20178aa74 chore: publish 6.0.1+17.0.1-rootless release 2026-10-27 11:09:07 -03:00
fauno 4f54fb3763 Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v17.0.1' (#61) from renovate/codeberg.org-forgejo-forgejo-17.x into main
Reviewed-on: #61
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-27 14:08:32 +00:00
renovate-bot bd6a4bc726 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v17.0.1 2026-10-27 13:06:46 +00:00
fauno 9619316b4b Merge pull request 'chore(deps): update postgres docker tag to v15.19' (#3) from renovate/postgres-15.x into main
Reviewed-on: #3
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-27 12:45:36 +00:00
fauno ecdd4be100 Merge pull request 'chore(deps): update mariadb docker tag to v10.11.19' (#2) from renovate/mariadb-10.x into main
Reviewed-on: #2
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-27 12:45:17 +00:00
fauno d0e67186e7 chore: publish 6.0.0+17.0.0-rootless release 2026-10-27 09:37:05 -03:00
fauno 4aef489937 Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v17' (#59) from renovate/codeberg.org-forgejo-forgejo-17.x into main
Reviewed-on: #59
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-27 12:32:58 +00:00
fauno 2af87760f0 fix: durations are required now! 2026-10-16 09:45:24 -03:00
renovate-bot 3e1d5885ae chore(deps): update codeberg.org/forgejo/forgejo docker tag to v17 2026-10-15 17:07:26 +00:00
fauno b699281073 chore: publish 5.6.4+15.0.10-rootless release 2026-10-13 09:43:19 -03:00
fauno 728a9f6abd Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15.0.10' (#56) from renovate/codeberg.org-forgejo-forgejo-15.x into main
Reviewed-on: #56
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-13 12:42:51 +00:00
renovate-bot dc61fe5fa0 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15.0.10 2026-10-12 16:07:06 +00:00
fauno c6d152bff7 chore: publish 5.6.3+15.0.9-rootless release 2026-09-23 12:59:32 -03:00
fauno f5b581a487 Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15.0.9' (#51) from renovate/codeberg.org-forgejo-forgejo-15.x into main
Reviewed-on: #51
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-09-23 15:58:34 +00:00
renovate-bot 010c852dc2 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15.0.9 2026-09-17 16:07:17 +00:00
fauno 92cd920c08 chore: publish 5.6.2+15.0.8-rootless release 2026-09-11 05:23:19 -03:00
fauno 9497e42181 Merge pull request 'chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15.0.8' (#49) from renovate/codeberg.org-forgejo-forgejo-15.x into main
Reviewed-on: #49
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-09-11 08:22:26 +00:00
renovate-bot f6f204c974 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v15.0.8 2026-09-10 13:07:28 +00:00
renovate-bot 0be6864e52 chore(deps): update mariadb docker tag to v10.11.19 2026-08-24 21:07:28 +00:00
renovate-bot 811555fee9 chore(deps): update postgres docker tag to v15.19 2026-08-13 21:09:16 +00:00
9 changed files with 26 additions and 28 deletions
+3 -3
View File
@@ -51,8 +51,8 @@ GITEA_REPO_UPLOAD_MAX_FILES=5
GITEA_MAILER_FROM=noreply@example.com GITEA_MAILER_FROM=noreply@example.com
GITEA_MAILER_USER=noreply@example.com GITEA_MAILER_USER=noreply@example.com
# SSH Support GITEA_SSH_PORT=2222
COMPOSE_FILE="$COMPOSE_FILE:compose.ssh.yml" GITEA_SSH_ENABLED=1
SECRET_INTERNAL_TOKEN_VERSION=v1 # length=105 SECRET_INTERNAL_TOKEN_VERSION=v1 # length=105
SECRET_DB_PASSWORD_VERSION=v1 SECRET_DB_PASSWORD_VERSION=v1
@@ -103,7 +103,7 @@ GITEA_STORAGE_TYPE=local
# Indexer (for issue search) # Indexer (for issue search)
# GITEA_REPO_INDEXER_ENABLED=false # GITEA_REPO_INDEXER_ENABLED=false
# GITEA_ISSUE_INDEXER_TYPE=db # GITEA_ISSUE_INDEXER_TYPE=db
# GITEA_STARTUP_TIMEOUT=-1 # GITEA_STARTUP_TIMEOUT=0s
# Prometheus metrics # Prometheus metrics
# FORGEJO_METRICS_ENABLED=false # FORGEJO_METRICS_ENABLED=false
+5 -3
View File
@@ -52,13 +52,15 @@ abra app deploy YOURTRAEFIKAPP
``` ```
You might need to wait a bit. To check if it worked, you can run You might need to wait a bit. To check if it worked, you can run
``` ```
telnet my.forgejo.example.com 2222 telnet my.gitea.example.com 2222
``` ```
Once you have added a public SSH key, you can check that you can connect to your Forgejo server with Once you have added a public SSH key, you can check that you can connect to your gitea server with
``` ```
ssh -T -p 2222 git@my.forgejo.example.com 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 ## Protect Forgejo from scrapers with Anubis
Uncomment the Anubis compose file from the `.env` file and re-deploy the Uncomment the Anubis compose file from the `.env` file and re-deploy the
+1 -1
View File
@@ -1,4 +1,4 @@
export APP_INI_VERSION=v27 export APP_INI_VERSION=v28
export DOCKER_SETUP_SH_VERSION=v2 export DOCKER_SETUP_SH_VERSION=v2
export PG_BACKUP_VERSION=v1 export PG_BACKUP_VERSION=v1
+4 -5
View File
@@ -80,17 +80,16 @@ SHOW_USER_EMAIL = {{ env "GITEA_SHOW_USER_EMAIL" }}
[indexer] [indexer]
REPO_INDEXER_ENABLED = {{ or (env "GITEA_REPO_INDEXER_ENABLED") "false" }} REPO_INDEXER_ENABLED = {{ or (env "GITEA_REPO_INDEXER_ENABLED") "false" }}
ISSUE_INDEXER_TYPE= {{ or (env "GITEA_ISSUE_INDEXER_TYPE") "db" }} ISSUE_INDEXER_TYPE= {{ or (env "GITEA_ISSUE_INDEXER_TYPE") "db" }}
STARTUP_TIMEOUT = {{ or (env "GITEA_STARTUP_TIMEOUT") "-1" }} STARTUP_TIMEOUT = {{ or (env "GITEA_STARTUP_TIMEOUT") "0s" }}
[server] [server]
DOMAIN = {{ env "GITEA_DOMAIN" }} DOMAIN = {{ env "GITEA_DOMAIN" }}
LANDING_PAGE = {{ env "GITEA_LANDING_PAGE" }} LANDING_PAGE = {{ env "GITEA_LANDING_PAGE" }}
ROOT_URL = https://%(DOMAIN)s/ ROOT_URL = https://%(DOMAIN)s/
SSH_DOMAIN = {{ env "GITEA_DOMAIN" }} SSH_DOMAIN = {{ env "GITEA_DOMAIN" }}
SSH_LISTEN_PORT = 2222 SSH_LISTEN_PORT = {{ env "GITEA_SSH_PORT" }}
SSH_PORT = 2222 SSH_PORT = {{ env "GITEA_SSH_PORT" }}
START_SSH_SERVER = {{ env "GITEA_SSH_ENABLED" }} START_SSH_SERVER = true
DISABLE_SSH = {{ if eq (env "GITEA_SSH_ENABLED") "true" }}false{{ else }}true{{ end }}
LFS_START_SERVER = {{ env "GITEA_LFS_START_SERVER" }} LFS_START_SERVER = {{ env "GITEA_LFS_START_SERVER" }}
LFS_JWT_SECRET = {{ secret "lfs_jwt_secret" }} LFS_JWT_SECRET = {{ secret "lfs_jwt_secret" }}
+1 -1
View File
@@ -10,7 +10,7 @@ services:
secrets: secrets:
- db_password - db_password
db: db:
image: "mariadb:10.11.2" image: "mariadb:10.11.19"
deploy: deploy:
labels: labels:
backupbot.backup.pre-hook: 'mysqldump --single-transaction -u root -p"$$(cat /run/secrets/db_root_password)" gitea > /var/lib/mysql/backup.sql' backupbot.backup.pre-hook: 'mysqldump --single-transaction -u root -p"$$(cat /run/secrets/db_root_password)" gitea > /var/lib/mysql/backup.sql'
+1 -1
View File
@@ -10,7 +10,7 @@ services:
secrets: secrets:
- db_password - db_password
db: db:
image: postgres:15.13 image: postgres:15.19
deploy: deploy:
labels: labels:
backupbot.backup.pre-hook: "/pg_backup.sh backup" backupbot.backup.pre-hook: "/pg_backup.sh backup"
-11
View File
@@ -1,11 +0,0 @@
---
version: "3.8"
services:
app:
environment:
- GITEA_SSH_ENABLED=true
deploy:
labels:
- "traefik.tcp.routers.${STACK_NAME}-ssh.rule=HostSNI(`*`)"
- "traefik.tcp.routers.${STACK_NAME}-ssh.entrypoints=gitea-ssh"
- "traefik.tcp.services.${STACK_NAME}-ssh.loadbalancer.server.port=${GITEA_SSH_PORT}"
+6 -3
View File
@@ -3,7 +3,7 @@ version: "3.8"
services: services:
app: app:
image: codeberg.org/forgejo/forgejo:15.0.7-rootless image: codeberg.org/forgejo/forgejo:17.0.1-rootless
configs: configs:
- source: app_ini - source: app_ini
target: /var/lib/gitea/custom/conf/app.ini target: /var/lib/gitea/custom/conf/app.ini
@@ -26,7 +26,7 @@ services:
- GITEA_ENABLE_OPENID_SIGNIN - GITEA_ENABLE_OPENID_SIGNIN
- GITEA_ENABLE_OPENID_SIGNUP - GITEA_ENABLE_OPENID_SIGNUP
- GITEA_SMTP_MAILER_ENABLED - GITEA_SMTP_MAILER_ENABLED
- GITEA_SSH_ENABLED=false - GITEA_SSH_PORT
- GITEA_DISABLE_GRAVATAR - GITEA_DISABLE_GRAVATAR
- GITEA_ENABLE_FEDERATED_AVATAR - GITEA_ENABLE_FEDERATED_AVATAR
- GITEA_REGISTER_EMAIL_CONFIRM - GITEA_REGISTER_EMAIL_CONFIRM
@@ -81,13 +81,16 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.tcp.routers.${STACK_NAME}-ssh.rule=HostSNI(`*`)"
- "traefik.tcp.routers.${STACK_NAME}-ssh.entrypoints=gitea-ssh"
- "traefik.tcp.services.${STACK_NAME}-ssh.loadbalancer.server.port=${GITEA_SSH_PORT}"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}_cors" - "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.accesscontrolallowmethods=GET,OPTIONS,PUT"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolallowheaders=content-type,authorization" - "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.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100" - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100"
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true" - "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true"
- coop-cloud.${STACK_NAME}.version=5.6.1+15.0.7-rootless - coop-cloud.${STACK_NAME}.version=6.0.2+17.0.1-rootless
networks: networks:
+5
View File
@@ -0,0 +1,5 @@
Since PR 10273 was merged, durations need a unit, otherwise Forgejo
would refuse to start. Check your GITEA_STARTUP_TIMEOUT value and make
sure it ends with s for seconds.
https://codeberg.org/forgejo/forgejo/pulls/10273