Git Repositories

docker-compose example file
[simple-git-host.git] / docker-compose.yml
1 version: "2"
2 volumes:
3   "repos":
4 services:
5   git: 
6     build:
7       context: .
8       dockerfile: compose/git.Dockerfile
9     restart: always
10     ports:
11       - "9418:9418"
12       - "80:80"
13       - "22:22"
14     volumes:
15       - "repos:/home/git/repos"