This commit is contained in:
Jann-Frederik Laß committed 2026-08-19 21:35:12 +02:00
commit e1bd002ff8
2 files changed
+27

No files matched your search

View File
Whitespace-only changes.
+27
View File
@@ -0,0 +1,27 @@
services:
init-permissions:
image: alpine:latest
user: root
volumes:
- /srv/gitea:/var/lib/gitea
- ./config:/etc/gitea
command: >
sh -c "chown -R 987:985 /etc/gitea && chmod -R 775 /etc/gitea"
server:
depends_on:
init-permissions:
condition: service_completed_successfully
image: docker.gitea.com/gitea:1.27.2-rootless
container_name: gitea
user: "987:985"
restart: unless-stopped
volumes:
- /srv/gitea:/var/lib/gitea
- ./config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "7522:22"
expose:
- 3000