version: "3" networks: gitea: external: false services: server: image: gitea/gitea:1.22.3 container_name: tea environment: - USER_UID=1000 - USER_GID=1000 restart: always networks: - gitea volumes: - ./data:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - "127.0.0.1:8082:3000" - "127.0.0.1:222:22"