Compare commits

..

1 Commits

Author SHA1 Message Date
ea7e26698a feat: enable indexer for search [ci skip]
Some checks failed
continuous-integration/drone/pr Build is failing
See coop-cloud/organising#589
2024-03-31 01:31:39 +01:00
6 changed files with 12 additions and 13 deletions

View File

@ -51,3 +51,7 @@ SECRET_SECRET_KEY_VERSION=v1 # length=64
# GITEA_UPDATE_AVATAR=replace-me
# GITEA_ACCOUNT_LINKING=replace-me
# GITEA_OAUTH2_CLIENT_ENABLED=replace-me
# Indexer (for issue search)
# GITEA_REPO_INDEXER_ENABLED=false
# GITEA_STARTUP_TIMEOUT=-1

View File

@ -4,11 +4,11 @@
<!-- metadata -->
* **Category**: Development
* **Status**: 5
* **Status**: 3, stable
* **Image**: [`gitea/gitea`](https://hub.docker.com/gitea/gitea), 4, upstream
* **Healthcheck**: Yes
* **Backups**: Yes
* **Email**: Yes
* **Email**: ?
* **Tests**: 2
* **SSO**: 3 (OAuth)
<!-- endmetadata -->

View File

@ -1,4 +1,4 @@
export APP_INI_VERSION=v15
export APP_INI_VERSION=v16
export DOCKER_SETUP_SH_VERSION=v1
abra_backup_app() {

View File

@ -32,7 +32,8 @@ MAX_FILES = {{ env "GITEA_REPO_UPLOAD_MAX_FILES" }}
[indexer]
STARTUP_TIMEOUT = 0
REPO_INDEXER_ENABLED = {{ or (env "GITEA_REPO_INDEXER_ENABLED") "false" }}
STARTUP_TIMEOUT = {{ or (env "GITEA_STARTUP_TIMEOUT") "-1" }}
[server]
DOMAIN = {{ env "GITEA_DOMAIN" }}

View File

@ -40,7 +40,8 @@ services:
- GITEA_REPO_UPLOAD_ALLOWED_TYPES
- GITEA_REPO_UPLOAD_MAX_SIZE
- GITEA_REPO_UPLOAD_MAX_FILES
- GITEA_REPO_INDEXER_ENABLED
- GITEA_STARTUP_TIMEOUT
volumes:
- data:/var/lib/gitea
- config:/etc/gitea
@ -49,12 +50,6 @@ 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
@ -73,7 +68,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.6.0+1.21.5-rootless
- coop-cloud.${STACK_NAME}.version=2.5.2+1.21.5-rootless
networks:

View File

@ -1 +0,0 @@
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 🐛