version: '3' services: cgit: build: context: . image: cgit volumes: - ./homedir:/var/git - ./hostkeys:/var/hostkeys ports: - '127.0.0.1:8080:8080' - '0.0.0.0:8022:8022'