version: "3.7" services: gitolite: build: "gitolite" restart: "always" volumes: - "data:/git/repositories" - "ssh:/hostkeys" ports: - "22:22" cgit: build: "cgit" restart: "always" volumes: - "data:/repositories:ro" networks: - "nginx-proxy-network" environment: VIRTUAL_HOST: "normalmode.org" LETSENCRYPT_HOST: "normalmode.org" volumes: data: ssh: networks: nginx-proxy-network: external: true