Compare commits
5 Commits
indexer
...
2.6.2+1.21
Author | SHA1 | Date | |
---|---|---|---|
ced3ea7978 | |||
43abfe0483 | |||
4683a81eeb | |||
3815417c2c | |||
4421f81a35 |
@ -54,4 +54,5 @@ SECRET_SECRET_KEY_VERSION=v1 # length=64
|
||||
|
||||
# Indexer (for issue search)
|
||||
# GITEA_REPO_INDEXER_ENABLED=false
|
||||
# GITEA_ISSUE_INDEXER_TYPE=db
|
||||
# GITEA_STARTUP_TIMEOUT=-1
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
<!-- metadata -->
|
||||
* **Category**: Development
|
||||
* **Status**: 3, stable
|
||||
* **Status**: 5
|
||||
* **Image**: [`gitea/gitea`](https://hub.docker.com/gitea/gitea), 4, upstream
|
||||
* **Healthcheck**: Yes
|
||||
* **Backups**: Yes
|
||||
* **Email**: ?
|
||||
* **Email**: Yes
|
||||
* **Tests**: 2
|
||||
* **SSO**: 3 (OAuth)
|
||||
<!-- endmetadata -->
|
||||
|
2
abra.sh
2
abra.sh
@ -1,4 +1,4 @@
|
||||
export APP_INI_VERSION=v16
|
||||
export APP_INI_VERSION=v17
|
||||
export DOCKER_SETUP_SH_VERSION=v1
|
||||
|
||||
abra_backup_app() {
|
||||
|
@ -33,6 +33,7 @@ MAX_FILES = {{ env "GITEA_REPO_UPLOAD_MAX_FILES" }}
|
||||
|
||||
[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" }}
|
||||
|
||||
[server]
|
||||
|
11
compose.yml
11
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "gitea/gitea:1.21.5-rootless"
|
||||
image: "gitea/gitea:1.21.10-rootless"
|
||||
configs:
|
||||
- source: app_ini
|
||||
target: /etc/gitea/app.ini
|
||||
@ -41,6 +41,7 @@ services:
|
||||
- GITEA_REPO_UPLOAD_MAX_SIZE
|
||||
- GITEA_REPO_UPLOAD_MAX_FILES
|
||||
- GITEA_REPO_INDEXER_ENABLED
|
||||
- GITEA_ISSUE_INDEXER_TYPE
|
||||
- GITEA_STARTUP_TIMEOUT
|
||||
volumes:
|
||||
- data:/var/lib/gitea
|
||||
@ -50,6 +51,12 @@ services:
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
@ -68,7 +75,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=2.5.2+1.21.5-rootless
|
||||
- coop-cloud.${STACK_NAME}.version=2.6.2+1.21.10-rootless
|
||||
|
||||
|
||||
networks:
|
||||
|
1
release/2.6.0+1.21.5-rootless
Normal file
1
release/2.6.0+1.21.5-rootless
Normal file
@ -0,0 +1 @@
|
||||
This release adds a docker healthcheck for the main Gitea service -- please pay careful attention when updating apps, and as always feel free to ask in Matrix if you run into any bugs 🐛
|
Reference in New Issue
Block a user