xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
<root> / docker /
File Mode Size
.gitignore 100644 79B
Dockerfile-postgresql.tmpl 100644 740B
Dockerfile-rocketgit-alpine.tmpl 100644 868B
Dockerfile-rocketgit.tmpl 100644 939B
README 100644 1,513B
TODO 100644 98B
build.sh 100755 1,151B
docker-compose.yml 100644 75B
prepare.sh 100644 133B
push.sh 100755 272B
rg.sh 100755 1,663B

/README
== TODO add to download page? ==
docker pull rocketgit/rocketgit-postgresql
docker run -d -P --name rp rocketgit/rocketgit-postgresql
docker pull rocketgit/rocketgit
docker run -d -P --name rg --link rp rocketgit/rocketgit


== me ==
docker run -d -P --name rp rocketgit/rocketgit-postgresql
docker logs rp

docker run -d -P --name rg --link rp rocketgit/rocketgit
docker logs rg

docker rm rp

docker exec -it rg bash

to debug:
docker run -d -P --name rg --link rp \
	-v /BIG1T/sync1/Dev/rocketgit/inc:/usr/share/rocketgit/inc \
	-v /BIG1T/sync1/Dev/rocketgit/scripts:/usr/share/rocketgit/scripts \
	-v /BIG1T/sync1/Dev/rocketgit/hooks:/usr/share/rocketgit/hooks \
	-v /BIG1T/sync1/Dev/rocketgit/root:/usr/share/rocketgit/root \
	rocketgit


== doc ==
docker inspect
docker info
docker search xxx
docker pull fedora
docker images
docker commit
docker push username/image_name
docker ps -l
docker run -name aaa my_img echo "aaa"
docker stop aaa
docker rm

untag: docker rmi rocketgit/rocektgit-postgresql:20160311

docker tag image_id docker_user_name/image_name:label_for_example_latest
docker login --username=rocketgit --email=docker@embedromix.ro
docker push rocketgit/rocketgit

Running an interactive shell:
	docker run -i -t fedora /bin/bash
	docker run --interactive=true --tty=true fedora /bin/bash

	Ctrl-p + Ctrl-q to detach

docker logs aaa

docker kill aaa

docker run -p 4444
docker port $JOB

== TODO: compose ==
docker-compose up
docker-compose ps
docker-compose run web env
docker-compose stop

Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master