services: jenkins: image: jenkins/jenkins:latest container_name: jenkins privileged: true user: root volumes: - ./jenkins-data:/var/jenkins_home - ./ansible:/ansible ports: - "8080:8080" - "50000:50000" restart: always gitea: image: gitea/gitea:latest container_name: gitea environment: - USER_UID=1000 - USER_GID=1000 volumes: - ./gitea-data:/data ports: - "3000:3000" - "222:22" restart: always volumes: jenkins-data: gitea-data: