Files
server-infra/gitea/docker-compose.yml
Deeman 83843a6647 fix: re-enable Gitea SSH, expose on port 2222
SSH is needed for git operations (git@server:repo.git).
HTTP stays localhost-only (accessed via SSH tunnel for UI).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 17:36:51 +01:00

15 lines
344 B
YAML

services:
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: always
ports:
- "127.0.0.1:3100:3000"
- "2222:22"
volumes:
- /data/server-infra/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- GITEA__database__DB_TYPE=sqlite3