services: gitea: image: gitea/gitea:latest env_file: .env container_name: gitea restart: unless-stopped environment: - USER_UID=102 - USER_GID=109 networks: - gitea volumes: - ./gitea:/data - /home/git/.ssh/:/data/git/.ssh - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - 127.0.0.1:3006:3000 - "2222:22" networks: gitea: external: false