forked from coop-cloud/gitea
Compare commits
7
Commits
fix-domain
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce77f8aacc | ||
|
|
87814282d1 | ||
|
|
59e0965cd0 | ||
|
|
e6a1cc79e9 | ||
|
|
34dd04ac99 | ||
|
|
e7c4999f78 | ||
|
|
c63e1cdd04 |
@@ -12,6 +12,9 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.forgejo.yml"
|
||||
# SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43
|
||||
|
||||
# Anubis
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml"
|
||||
|
||||
GITEA_DOMAIN=git.example.com
|
||||
GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION=true
|
||||
GITEA_APP_NAME="Git with solidaritea"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=anubis,${STACK_NAME}_cors"
|
||||
+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'
|
||||
|
||||
+2
-2
@@ -71,7 +71,7 @@ services:
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
order: stop-first
|
||||
labels:
|
||||
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
||||
- "traefik.enable=true"
|
||||
@@ -88,7 +88,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=3.5.2+1.24.2-rootless
|
||||
- coop-cloud.${STACK_NAME}.version=3.5.3+1.24.2-rootless
|
||||
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user