Gitea
This is the Docker Compose configuration for Gitea.
yaml
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
volumes:
- ./data/gitea:/data
ports:
- "3000:3000" # Gitea web UI
- "2222:22" # SSH
restart: unless-stopped
jenkins:
image: jenkins/jenkins:lts
container_name: jenkins
user: root
ports:
- "8080:8080" # Jenkins web UI
- "50000:50000" # Jenkins agent port
volumes:
- ./data/jenkins:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped