version: "3" networks: web: external: true gitea: external: false services: server: image: gitea/gitea:1.16.9 container_name: gitea environment: - USER_UID=1000 - USER_GID=1000 - PROTOCOL=http - DOMAIN=git.dws.rip restart: always labels: - traefik.http.routers.gitea.rule=Host(`git.dws.rip`) - traefik.http.routers.gitea.tls=true - traefik.http.routers.gitea.tls.certresolver=lets-encrypt - traefik.http.services.gitea.loadbalancer.server.port=3000 - traefik.port=3000 networks: - gitea - web volumes: - /dws/otherdata/gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro