1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/gogs
2016-08-15 17:23:47 +08:00
..
arm upgrade gogs to 0.9.71 2016-08-15 17:23:47 +08:00
docker-compose.yml update gogs 2016-05-31 21:19:06 +08:00
gogs.service add gogo.service 2016-05-26 16:56:47 +08:00
INSTALL.md add installation guide for gogs on rpi 2016-05-05 17:46:23 +08:00
README.md update gogs 2016-05-31 21:19:06 +08:00

gogs

Gogs (Go Git Service) is a painless self-hosted Git service.

docker-compose.yml

gogs:
  image: gogs/gogs
  ports:
    - "2222:22"
    - "3000:3000"
  volumes:
    - ./data:/data
  restart: always

up and running

$ docker-compose up -d

$ docker-compose exec gogs vi /data/gogs/conf/app.ini

$ docker-compose restart

$ firefox http://localhost:3000/

$ tree -FL 3 ./data/git/
./data/git/
├── git -> /data/git
└── gogs-repositories/
    ├── root/
    ├── user1/
    │   ├── project1.git/
    │   └── project2.git/
    └── user2/