services: gitolite: build: "gitolite" restart: "always" volumes: - "data:/git/repositories" - "ssh:/hostkeys" ports: - "22:22" cgit: build: context: "cgit" args: SRCNODE_VERSION: "srcnode v0.4.0" restart: "always" volumes: - "data:/repositories:ro" networks: - "nginx-proxy-network" environment: VIRTUAL_HOST: "YOUR-DOMAIN.example" LETSENCRYPT_HOST: "YOUR-DOMAIN.example" volumes: data: ssh: networks: nginx-proxy-network: external: true