mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-08-28 20:20:15 +00:00
24 lines
510 B
YAML
24 lines
510 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
gitea:
|
|
image: docker.gitea.com/gitea:1.24.4
|
|
restart: unless-stopped
|
|
environment:
|
|
USER_UID: ${USER_UID}
|
|
USER_GID: ${USER_GID}
|
|
DISABLE_REGISTRATION: ${DISABLE_REGISTRATION}
|
|
volumes:
|
|
- gitea-data:/data
|
|
expose:
|
|
- "3000" # Web UI
|
|
- "22" # SSH (internal only)
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
volumes:
|
|
gitea-data: {}
|