summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 037b83f699ee37d4b8b09d010efae3f896381c0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# for local testing deployments
services:
  git-server:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "2222:22"
    restart: no
    environment:
      - GIT_UID=1000
      - USER_PASS=pass
      - REPO_PASS=/pass.git:pass
    volumes:
      - ./ssh:/var/ssh
      - ./repos:/srv/repos