version: "3" networks: gitea: external: false services: server: image: gitea/gitea:1.17.4 container_name: gitea environment: - USER_UID=1000 - USER_GID=1000 restart: always networks: - gitea volumes: - /data/gitea:/data - /apps/gitea/conf:/data/gitea/conf - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - "3003:3000" # - "22:22" # Look into this some more later. Obviously needed for git.