Compare commits
27
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbf16927cc | ||
|
|
d05a656105 | ||
|
|
09001abacd | ||
|
|
3129e59d06 | ||
|
|
1b7fda4d49 | ||
|
|
a6d7f630f9 | ||
|
|
6f82caf9e2
|
||
|
|
d20178aa74 | ||
|
|
4f54fb3763 | ||
|
|
bd6a4bc726 | ||
|
|
9619316b4b | ||
|
|
ecdd4be100 | ||
|
|
d0e67186e7 | ||
|
|
4aef489937 | ||
|
|
2af87760f0
|
||
|
|
3e1d5885ae | ||
|
|
b699281073 | ||
|
|
728a9f6abd | ||
|
|
dc61fe5fa0 | ||
|
|
c6d152bff7 | ||
|
|
f5b581a487 | ||
|
|
010c852dc2 | ||
|
|
92cd920c08 | ||
|
|
9497e42181 | ||
|
|
f6f204c974 | ||
|
|
0be6864e52 | ||
|
|
811555fee9 |
+1
-1
@@ -103,7 +103,7 @@ GITEA_STORAGE_TYPE=local
|
||||
# Indexer (for issue search)
|
||||
# GITEA_REPO_INDEXER_ENABLED=false
|
||||
# GITEA_ISSUE_INDEXER_TYPE=db
|
||||
# GITEA_STARTUP_TIMEOUT=-1
|
||||
# GITEA_STARTUP_TIMEOUT=0s
|
||||
|
||||
# Prometheus metrics
|
||||
# FORGEJO_METRICS_ENABLED=false
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
Run
|
||||
|
||||
```bash
|
||||
abra app run YOURAPPNAME app forgejo -c /etc/gitea/app.ini admin user create --username USERNAME --admin --random-password --email EMAIL
|
||||
abra app run YOURAPPNAME app -- forgejo --config /var/lib/gitea/custom/conf/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`.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export APP_INI_VERSION=v27
|
||||
export APP_INI_VERSION=v28
|
||||
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") "-1" }}
|
||||
STARTUP_TIMEOUT = {{ or (env "GITEA_STARTUP_TIMEOUT") "0s" }}
|
||||
|
||||
[server]
|
||||
DOMAIN = {{ env "GITEA_DOMAIN" }}
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
db:
|
||||
image: "mariadb:10.11.2"
|
||||
image: "mariadb:10.11.19"
|
||||
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.13
|
||||
image: postgres:15.19
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup.pre-hook: "/pg_backup.sh backup"
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: codeberg.org/forgejo/forgejo:15.0.7-rootless
|
||||
image: codeberg.org/forgejo/forgejo:17.0.2-rootless
|
||||
configs:
|
||||
- source: app_ini
|
||||
target: /var/lib/gitea/custom/conf/app.ini
|
||||
@@ -90,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.6.1+15.0.7-rootless
|
||||
- coop-cloud.${STACK_NAME}.version=6.0.3+17.0.2-rootless
|
||||
|
||||
|
||||
networks:
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user