summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 537fccd09ce2b5eaa54f868ddd18b19b324a69a8 (plain) (blame)
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