Compare commits

..
1 Commits
Author SHA1 Message Date
Beto c52ccd5606 fix: remove /etc/timezone bind mount, not present on all hosts
Docker Swarm requires the bind source to exist on the node before
scheduling the task; /etc/timezone is Debian/Ubuntu-specific and
missing on other distros, causing deploy failures. /etc/localtime
alone covers timezone info portably.
2026-08-14 17:39:21 -04:00
5 changed files with 5 additions and 16 deletions
+1 -4
View File
@@ -13,9 +13,7 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
# COMPOSE_FILE="$COMPOSE_FILE:compose.lfs.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"
GITEA_AUTO_WATCH_NEW_REPOS=false
@@ -81,4 +79,3 @@ SECRET_SECRET_KEY_VERSION=v1 # length=64
# GITEA_REPO_INDEXER_ENABLED=false
# GITEA_ISSUE_INDEXER_TYPE=db
# GITEA_STARTUP_TIMEOUT=-1
+1 -1
View File
@@ -5,7 +5,7 @@
<!-- metadata -->
* **Category**: Development
* **Status**: 5
* **Image**: [`gitea/gitea`](https://hub.docker.com/r/gitea/gitea), 4, upstream
* **Image**: [`gitea/gitea`](https://hub.docker.com/gitea/gitea), 4, upstream
* **Healthcheck**: Yes
* **Backups**: Yes
* **Email**: Yes
-7
View File
@@ -1,7 +0,0 @@
---
version: "3.8"
services:
app:
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=anubis,${STACK_NAME}_cors"
+1 -1
View File
@@ -10,7 +10,7 @@ services:
secrets:
- db_password
db:
image: postgres:15.19
image: postgres:15.18
deploy:
labels:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
+2 -3
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: "gitea/gitea:1.27.3-rootless"
image: "gitea/gitea:1.27.1-rootless"
configs:
- source: app_ini
target: /etc/gitea/app.ini
@@ -56,7 +56,6 @@ services:
volumes:
- data:/var/lib/gitea
- config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- proxy
@@ -87,7 +86,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.6.5+1.27.3-rootless
- coop-cloud.${STACK_NAME}.version=3.6.3+1.27.1-rootless
networks: