services: gitea: image: gitea/gitea:latest restart: unless-stopped environment: - USER_UID=1000 - USER_GID=1000 - GITEA__server__HTTP_PORT=3100 ports: - "3100:3100" # Web UI - "2222:22" # SSH git operations (avoids conflict with system SSH on 22) volumes: - ./data/gitea:/data ## When cloning repos, instead of port 22(SSH), use port 2222 to avoid conflicts with the host's SSH server. ## example: git clone ssh://git@192.168.0.205:2222/yourusername/loom-ai.git