Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7db97f305
|
+8
-1
@@ -10,6 +10,13 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
|
||||
|
||||
SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43
|
||||
|
||||
# Control request body sizes. If you're having issues uploading big
|
||||
# files, set this option to 0 or a big number in bytes, and also check
|
||||
# READ_TIMEOUT in Traefik's recipe.
|
||||
#
|
||||
# https://doc.traefik.io/traefik/reference/routing-configuration/http/middlewares/buffering/#opt-memRequestBodyBytes
|
||||
#MAX_REQUEST_BODY_LIMIT=0
|
||||
|
||||
# Anubis
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml"
|
||||
|
||||
@@ -103,7 +110,7 @@ GITEA_STORAGE_TYPE=local
|
||||
# Indexer (for issue search)
|
||||
# GITEA_REPO_INDEXER_ENABLED=false
|
||||
# GITEA_ISSUE_INDEXER_TYPE=db
|
||||
# GITEA_STARTUP_TIMEOUT=0s
|
||||
# GITEA_STARTUP_TIMEOUT=-1
|
||||
|
||||
# Prometheus metrics
|
||||
# FORGEJO_METRICS_ENABLED=false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export APP_INI_VERSION=v28
|
||||
export APP_INI_VERSION=v27
|
||||
export DOCKER_SETUP_SH_VERSION=v2
|
||||
export PG_BACKUP_VERSION=v1
|
||||
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ SHOW_USER_EMAIL = {{ env "GITEA_SHOW_USER_EMAIL" }}
|
||||
[indexer]
|
||||
REPO_INDEXER_ENABLED = {{ or (env "GITEA_REPO_INDEXER_ENABLED") "false" }}
|
||||
ISSUE_INDEXER_TYPE= {{ or (env "GITEA_ISSUE_INDEXER_TYPE") "db" }}
|
||||
STARTUP_TIMEOUT = {{ or (env "GITEA_STARTUP_TIMEOUT") "0s" }}
|
||||
STARTUP_TIMEOUT = {{ or (env "GITEA_STARTUP_TIMEOUT") "-1" }}
|
||||
|
||||
[server]
|
||||
DOMAIN = {{ env "GITEA_DOMAIN" }}
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
db:
|
||||
image: "mariadb:10.11.19"
|
||||
image: "mariadb:10.11.2"
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup.pre-hook: 'mysqldump --single-transaction -u root -p"$$(cat /run/secrets/db_root_password)" gitea > /var/lib/mysql/backup.sql'
|
||||
|
||||
@@ -10,7 +10,7 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
db:
|
||||
image: postgres:15.19
|
||||
image: postgres:15.13
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup.pre-hook: "/pg_backup.sh backup"
|
||||
|
||||
+3
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: codeberg.org/forgejo/forgejo:17.0.1-rootless
|
||||
image: codeberg.org/forgejo/forgejo:15.0.9-rootless
|
||||
configs:
|
||||
- source: app_ini
|
||||
target: /var/lib/gitea/custom/conf/app.ini
|
||||
@@ -90,7 +90,8 @@ 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=6.0.2+17.0.1-rootless
|
||||
- "traefik.http.middlewares.${STACK_NAME}-buffering.buffering.maxRequestBodyBytes=${MAX_REQUEST_BODY_LIMIT:-0}"
|
||||
- coop-cloud.${STACK_NAME}.version=5.6.3+15.0.9-rootless
|
||||
|
||||
|
||||
networks:
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user