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 / Dockerfile-rocketgit.tmpl (c0a8c09199ac380efbf3af3d77adbc247e25908c) (906B) (mode 100644) [raw]
FROM fedora:32
MAINTAINER Catalin(ux) M. BOIE <catab-docker@embedromix.ro>

EXPOSE 80
EXPOSE 443
EXPOSE 22
EXPOSE 9418

COPY rg.sh /

CMD ["/rg.sh"]

RUN dnf -y --setopt=tsflags=nodocs upgrade --best --allowerasing; echo @@VER@@
RUN dnf -y --setopt=tsflags=nodocs install \
	http://kernel.embedromix.ro/dinorepo-0.0.12-1.noarch.rpm

RUN dnf -y --setopt=tsflags=nodocs install psmisc procps-ng sendmail \
	php-opcache qrencode openssh-server nginx rocketgit

RUN dnf -y clean all

RUN sed -i -e 's|;opcache.enable_cli=.*|opcache.enable_cli=1|' \
	/etc/php.d/10-opcache.ini
RUN sed -i -e 's|;opcache.enable_cli=.*|opcache.enable_cli=1|' \
	/etc/php-zts.d/10-opcache.ini
RUN grep -q ^rocketgit ${dir}/etc/mail/trusted-users \
	|| echo "rocketgit" >> /etc/mail/trusted-users

# Pay attention! Volumes comes after we populate the folders!
VOLUME /var/lib/rocketgit
VOLUME /home/rocketgit
VOLUME /etc/rocketgit

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