copy in from dokploy

This commit is contained in:
Bendt
2026-01-04 16:01:06 -05:00
parent 4c2511b04d
commit 8d23a6f576
7 changed files with 213 additions and 0 deletions

26
gitea-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
version: "3.8"
services:
gitea:
image: docker.gitea.com/gitea:1.24.4
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
# SQLite (default) lives at /data/gitea
# Example optional overrides (set in template.toml env or UI):
# - GITEA__mailer__ENABLED=true
volumes:
- gitea-data:/data
expose:
- "3000" # Web UI
ports:
- "2222:22" # Map host port 2222 to container port 22
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/"]
interval: 15s
timeout: 5s
retries: 10
volumes:
gitea-data: {}