mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
.. | ||
docker-compose.yml | ||
gogs.service | ||
INSTALL.md | ||
README.md |
gogs
Gogs (Go Git Service) is a painless self-hosted Git service.
docker-compose.yml
gogs:
image: gogs/gogs
ports:
- "22:22"
- "80:3000"
volumes:
- ./data:/data
restart: always
⚠️ Listening on port 22 and 80 may cause problems!
up and running
$ docker-compose up -d
$ firefox http://localhost/
$ tree -FL 3 ./data/git/
./data/git/
├── git -> /data/git
└── gogs-repositories/
├── root/
├── user1/
│ ├── project1.git/
│ └── project2.git/
└── user2/