1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# for local testing deployments services: git-server: build: context: . dockerfile: Dockerfile ports: - "2222:22" restart: no command: - --users - pass,yolo,git - --repos - /pass.git:pass,/yolo.git:yolo volumes: - ./ssh:/var/ssh - ./repos:/srv/repos