Compare commits

...

7 Commits

Author SHA1 Message Date
ced3ea7978 chore: publish 2.6.2+1.21.10-rootless release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2024-04-01 17:05:17 +02:00
43abfe0483 chore: publish 2.6.1+1.21.10-rootless release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2024-04-01 16:38:05 +02:00
4683a81eeb Merge pull request 'feat: enable indexer for search' (#33) from indexer into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #33
2024-04-01 11:58:54 +00:00
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
3wc
3815417c2c chore: publish 2.6.0+1.21.5-rootless release
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-30 16:07:28 -03:00
3wc
4421f81a35 Add healthcheck, update metadata 2024-03-30 16:05:32 -03:00
3wc
a0e8ba4839 chore: publish 2.5.2+1.21.5-rootless release
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-08 14:36:08 -03:00
6 changed files with 23 additions and 7 deletions

View File

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

View File

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

View File

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

View File

@ -32,7 +32,9 @@ MAX_FILES = {{ env "GITEA_REPO_UPLOAD_MAX_FILES" }}
[indexer] [indexer]
STARTUP_TIMEOUT = 0 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] [server]
DOMAIN = {{ env "GITEA_DOMAIN" }} DOMAIN = {{ env "GITEA_DOMAIN" }}

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
app: app:
image: "gitea/gitea:1.21.4-rootless" image: "gitea/gitea:1.21.10-rootless"
configs: configs:
- source: app_ini - source: app_ini
target: /etc/gitea/app.ini target: /etc/gitea/app.ini
@ -40,7 +40,9 @@ services:
- GITEA_REPO_UPLOAD_ALLOWED_TYPES - GITEA_REPO_UPLOAD_ALLOWED_TYPES
- GITEA_REPO_UPLOAD_MAX_SIZE - GITEA_REPO_UPLOAD_MAX_SIZE
- GITEA_REPO_UPLOAD_MAX_FILES - GITEA_REPO_UPLOAD_MAX_FILES
- GITEA_REPO_INDEXER_ENABLED
- GITEA_ISSUE_INDEXER_TYPE
- GITEA_STARTUP_TIMEOUT
volumes: volumes:
- data:/var/lib/gitea - data:/var/lib/gitea
- config:/etc/gitea - config:/etc/gitea
@ -49,6 +51,12 @@ services:
networks: networks:
- proxy - proxy
- internal - internal
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
deploy: deploy:
update_config: update_config:
failure_action: rollback failure_action: rollback
@ -67,7 +75,7 @@ services:
- "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=2.5.1+1.21.4-rootless - coop-cloud.${STACK_NAME}.version=2.6.2+1.21.10-rootless
networks: networks:

View 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 🐛