Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Docker fixes | 36653f824b0c2f7159a0cdbfa50e38aea714a0b5 | Catalin(ux) M. BOIE | 2016-10-03 16:12:48 |
Now, any script can update the structure and apply the fixes | 03e1ba61bdcac0514977b79c0b38449db29aa7a5 | Catalin(ux) M. BOIE | 2016-10-03 16:05:19 |
fpm: raise the memory limit to 128M from 32M because some initial commits may be very big | 5dee24337e21e740cba1080e9bfc376b2e8f2036 | Catalin(ux) M. BOIE | 2016-10-02 08:06:39 |
Compute the md5 key only when needed | 4eebe2a3863ca6b50e107ad84080629da6d81707 | Catalin(ux) M. BOIE | 2016-10-02 07:56:52 |
Pass all parameters to worker.php to be able to choose a different configuration | 4da8c1c26b9bd192fa4525f3168cce2fa421702c | root | 2016-09-29 18:18:40 |
Prefer https over ssh | 3dfed205de47850d459106b2479484d83fdcbca8 | Catalin(ux) M. BOIE | 2016-09-28 02:23:44 |
Bump version to 0.60 | fc13b029f14be5989df314e4adec67c78cc06b6d | Catalin(ux) M. BOIE | 2016-09-27 15:28:56 |
We cannot store directly in /var/lib/rocketgit because is owned by root | 0e3d2207e951db3c42d65784a2fe1b79e335cd71 | Catalin(ux) M. BOIE | 2016-09-27 03:04:55 |
SELinux: more fixes to start rocketgit-fpm without AVC errors | bbae4970f9972bdd37199dcf67beceef5f43aa36 | Catalin(ux) M. BOIE | 2016-09-26 20:49:07 |
Bump version to 0.58 | 32c5bf42c158ef5864094a75284115693fe72c03 | Catalin(ux) M. BOIE | 2016-09-26 15:34:10 |
Adjust goal and talk about CLA | 842c8e45c2f53d7cbf6db3ff9549b52034a0ccef | Catalin(ux) M. BOIE | 2016-09-26 02:59:47 |
Rewrap of text | dca9405b83ca52d20c92a4d908a656d43bbaa06e | Catalin(ux) M. BOIE | 2016-09-26 02:46:05 |
SELinux: no need for rocketgit-log folder; allow httpd server to write log files | eef3699ae6563e7b7ea30b9e688f498e38543529 | Catalin(ux) M. BOIE | 2016-09-25 20:28:52 |
worker fixes for when admin edits workers | f54af2c20ebd4df3b3424cab2e0bfb80aa8bafe6 | Catalin(ux) M. BOIE | 2016-09-25 20:26:08 |
Corrected typos and made clear some comments/hints | ab0c22fb84e13b9699b45ca8bc8181dd15f7a4a5 | Catalin(ux) M. BOIE | 2016-09-25 20:23:59 |
Do not show the query in the error message in plan.inc.php | feee2b816a64c9032e2fc9c37bb1a8216d43bc62 | Catalin(ux) M. BOIE | 2016-09-25 20:23:04 |
Renamed systemd.service to rocketgit-fpm.service | e24cc46ce59727f6acccb674e4ab53430a877171 | Catalin(ux) M. BOIE | 2016-09-25 20:21:35 |
.spec file fixes: use %{_unitdir} instead of @USR@/lib and systemd dependency | f39aea08f7b63aae84b3bc4f68bc8995f06e52e9 | Catalin(ux) M. BOIE | 2016-09-21 18:45:27 |
Fix duilder: forgot to replace @USR@ | d2d4920111d02c35944e15da642728a4b695c9ff | Catalin(ux) M. BOIE | 2016-09-21 17:56:15 |
Bump version to 0.57 | b8be77c83936b5083d004f380ec0366d5562342e | Catalin(ux) M. BOIE | 2016-09-21 17:26:09 |
File | Lines added | Lines deleted |
---|---|---|
docker/Dockerfile-rocketgit.tmpl | 8 | 6 |
docker/README | 2 | 2 |
docker/TODO | 2 | 2 |
docker/build.sh | 3 | 3 |
docker/rg.sh | 10 | 0 |
root/themes/default/download.html | 2 | 1 |
File docker/Dockerfile-rocketgit.tmpl changed (mode: 100644) (index fcedac7..ff4efd7) | |||
1 | FROM fedora:23 | ||
1 | FROM fedora:24 | ||
2 | 2 | MAINTAINER Catalin(ux) M. BOIE <catab-docker@embedromix.ro> | MAINTAINER Catalin(ux) M. BOIE <catab-docker@embedromix.ro> |
3 | 3 | ||
4 | VOLUME /var/lib/rocketgit | ||
5 | VOLUME /home/rocketgit | ||
6 | |||
7 | 4 | EXPOSE 80 | EXPOSE 80 |
8 | 5 | EXPOSE 443 | EXPOSE 443 |
9 | 6 | EXPOSE 22 | EXPOSE 22 |
... | ... | CMD ["/rg.sh"] | |
15 | 12 | ||
16 | 13 | RUN dnf -y upgrade --best --allowerasing; echo @@VER@@ | RUN dnf -y upgrade --best --allowerasing; echo @@VER@@ |
17 | 14 | RUN dnf -y install http://kernel.embedromix.ro/dinorepo-0.0.10-1.noarch.rpm | RUN dnf -y install http://kernel.embedromix.ro/dinorepo-0.0.10-1.noarch.rpm |
18 | RUN dnf -y install psmisc procps-ng sendmail php-opcache qrencode | ||
15 | RUN dnf -y install psmisc procps-ng sendmail php-opcache qrencode openssh-server | ||
19 | 16 | RUN dnf -y --disablerepo=* --enablerepo dinorepo clean all | RUN dnf -y --disablerepo=* --enablerepo dinorepo clean all |
20 | RUN dnf -y install rocketgit-@@VER@@ | ||
21 | 17 | ||
22 | 18 | 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.d/10-opcache.ini |
23 | 19 | RUN sed -i -e 's|;opcache.enable_cli=.*|opcache.enable_cli=1|' /etc/php-zts.d/10-opcache.ini | RUN sed -i -e 's|;opcache.enable_cli=.*|opcache.enable_cli=1|' /etc/php-zts.d/10-opcache.ini |
24 | 20 | RUN grep -q ^rocketgit ${dir}/etc/mail/trusted-users || echo "rocketgit" >> /etc/mail/trusted-users | RUN grep -q ^rocketgit ${dir}/etc/mail/trusted-users || echo "rocketgit" >> /etc/mail/trusted-users |
25 | 21 | RUN grep -q ^apache ${dir}/etc/mail/trusted-users || echo "apache" >> /etc/mail/trusted-users | RUN grep -q ^apache ${dir}/etc/mail/trusted-users || echo "apache" >> /etc/mail/trusted-users |
26 | 22 | ||
23 | RUN dnf -y install rocketgit | ||
24 | |||
25 | # Pay attention! Volumes comes after we populate the folders! | ||
26 | VOLUME /var/lib/rocketgit | ||
27 | VOLUME /home/rocketgit | ||
28 |
File docker/README changed (mode: 100644) (index b9db7f7..e645677) | |||
... | ... | docker run -d -P --name rg --link rp rocketgit/rocketgit | |
6 | 6 | ||
7 | 7 | ||
8 | 8 | == me == | == me == |
9 | docker run -d -P --name rp rocketgit-postgresql | ||
9 | docker run -d -P --name rp rocketgit/rocketgit-postgresql | ||
10 | 10 | docker logs rp | docker logs rp |
11 | 11 | ||
12 | docker run -d -P --name rg --link rp rocketgit | ||
12 | docker run -d -P --name rg --link rp rocketgit/rocketgit | ||
13 | 13 | docker rm rp | docker rm rp |
14 | 14 | ||
15 | 15 | docker exec -it rg bash | docker exec -it rg bash |
File docker/TODO changed (mode: 100644) (index 26209f5..a68ed1f) | |||
1 | [ ] Test if xinetd is started | ||
2 | 1 | [ ] Fix rocketgit link | [ ] Fix rocketgit link |
3 | 2 | [ ] Specify docker build http://... | [ ] Specify docker build http://... |
4 | [ ] | ||
3 | [ ] rg.sh: No test for openssh! | ||
4 | [ ] |
File docker/build.sh changed (mode: 100755) (index 47d1146..7dd7bd2) | |||
... | ... | set -e | |
5 | 5 | ||
6 | 6 | . ../duilder.conf | . ../duilder.conf |
7 | 7 | ||
8 | RP_VER="20160711" | ||
8 | RP_VER="20160928" | ||
9 | 9 | sed -e "s|@@RP_VER@@|${RP_VER}|" Dockerfile-postgresql.tmpl > Dockerfile-postgresql | sed -e "s|@@RP_VER@@|${RP_VER}|" Dockerfile-postgresql.tmpl > Dockerfile-postgresql |
10 | 10 | if [ "`docker images -q rocketgit/rocketgit-postgresql:${RP_VER}`" = "" ]; then | if [ "`docker images -q rocketgit/rocketgit-postgresql:${RP_VER}`" = "" ]; then |
11 | 11 | echo "Building rocketgit-postgresql (${RP_VER})..." | echo "Building rocketgit-postgresql (${RP_VER})..." |
... | ... | if [ "`docker images -q rocketgit/rocketgit-postgresql:${RP_VER}`" = "" ]; then | |
13 | 13 | --tag="rocketgit/rocketgit-postgresql:${RP_VER}" \ | --tag="rocketgit/rocketgit-postgresql:${RP_VER}" \ |
14 | 14 | -f Dockerfile-postgresql \ | -f Dockerfile-postgresql \ |
15 | 15 | . | . |
16 | docker tag -f "rocketgit/rocketgit-postgresql:${RP_VER}" \ | ||
16 | docker tag "rocketgit/rocketgit-postgresql:${RP_VER}" \ | ||
17 | 17 | "rocketgit/rocketgit-postgresql:latest" | "rocketgit/rocketgit-postgresql:latest" |
18 | 18 | fi | fi |
19 | 19 | ||
... | ... | docker build \ | |
23 | 23 | --tag="rocketgit/rocketgit:${VER}" \ | --tag="rocketgit/rocketgit:${VER}" \ |
24 | 24 | -f Dockerfile-rocketgit \ | -f Dockerfile-rocketgit \ |
25 | 25 | . | . |
26 | docker tag -f "rocketgit/rocketgit:${VER}" "rocketgit/rocketgit:latest" | ||
26 | docker tag "rocketgit/rocketgit:${VER}" "rocketgit/rocketgit:latest" |
File docker/rg.sh changed (mode: 100755) (index 3916451..2871280) | |||
5 | 5 | sed -i -e "s|\$rg_sql = .*$|\$rg_sql = 'host=${RP_PORT_5432_TCP_ADDR} port=${RP_PORT_5432_TCP_PORT} user=rocketgit dbname=rocketgit connect_timeout=10';|" /etc/rocketgit/config.php | sed -i -e "s|\$rg_sql = .*$|\$rg_sql = 'host=${RP_PORT_5432_TCP_ADDR} port=${RP_PORT_5432_TCP_PORT} user=rocketgit dbname=rocketgit connect_timeout=10';|" /etc/rocketgit/config.php |
6 | 6 | ||
7 | 7 | while [ 1 ]; do | while [ 1 ]; do |
8 | # rocketgit-fpm will be started automatically! | ||
9 | if [ "`ps ax|grep -v grep|grep \"pool rocketgit\"`" = "" ]; then | ||
10 | echo "Running rocketgit-fpm..." | ||
11 | /usr/sbin/php-fpm --fpm-config /etc/rocketgit/php-fpm.conf \ | ||
12 | --daemonize | ||
13 | if [ "${?}" != "0" ]; then | ||
14 | echo "ERROR: could not start rocketgit-fpm!" | ||
15 | fi | ||
16 | fi | ||
17 | |||
8 | 18 | if [ "`ps ax|grep -v grep|grep http`" = "" ]; then | if [ "`ps ax|grep -v grep|grep http`" = "" ]; then |
9 | 19 | echo "Running httpd..." | echo "Running httpd..." |
10 | 20 | httpd | httpd |
File root/themes/default/download.html changed (mode: 100644) (index 3b7ddc0..07b829b) | |||
45 | 45 | docker run -d -P --name rg --link rp rocketgit/rocketgit | docker run -d -P --name rg --link rp rocketgit/rocketgit |
46 | 46 | </div> | </div> |
47 | 47 | Then, follow the install section from the README file from | Then, follow the install section from the README file from |
48 | /usr/share/doc/rocketgit*. | ||
48 | /usr/share/doc/rocketgit*.<br /> | ||
49 | To find the ports to connect, use 'docker ps' command. | ||
49 | 50 | </div> | </div> |
50 | 51 | ||
51 | 52 | <div class="island"> | <div class="island"> |