summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile.cgit1
-rw-r--r--docker/Dockerfile.gitolite1
2 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile.cgit b/docker/Dockerfile.cgit
index 7108420..768a53d 100644
--- a/docker/Dockerfile.cgit
+++ b/docker/Dockerfile.cgit
@@ -12,4 +12,5 @@ RUN pacman -Syu --needed --noconfirm apache cgit
COPY httpd.conf /etc/httpd/conf/httpd.conf
COPY cgitrc /etc/cgitrc
+EXPOSE 80
CMD ["/usr/bin/httpd", "-DFOREGROUND"]
diff --git a/docker/Dockerfile.gitolite b/docker/Dockerfile.gitolite
index a1ba275..f953c57 100644
--- a/docker/Dockerfile.gitolite
+++ b/docker/Dockerfile.gitolite
@@ -25,4 +25,5 @@ VOLUME /var/lib/gitolite
RUN ssh-keygen -A
VOLUME /etc/ssh
+EXPOSE 22
CMD ["/usr/bin/sshd", "-D"]