summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-06-26 15:19:58 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-06 16:42:52 +0200
commit2b5007245adfd31e31fd2917902494853ecbc931 (patch)
tree8c74031276d9cc6a2c592cf9a1e121034209de95 /docker
parent17446ff0c98e870f0500279983432e5115e060a4 (diff)
downloadgitlab-ce-2b5007245adfd31e31fd2917902494853ecbc931.tar.gz
Added data volumes to Dockerfile
Diffstat (limited to 'docker')
-rw-r--r--docker/single/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/docker/single/Dockerfile b/docker/single/Dockerfile
index a6cbf131237..7e783eaa297 100644
--- a/docker/single/Dockerfile
+++ b/docker/single/Dockerfile
@@ -23,8 +23,11 @@ RUN mkdir -p /opt/gitlab/sv/sshd/supervise \
&& ln -s /opt/gitlab/sv/sshd /opt/gitlab/service \
&& mkdir -p /var/run/sshd
-# Expose web & ssh
-EXPOSE 80 22
+# Expose https & http & ssh
+EXPOSE 443 80 22
+
+# Define data volumes
+VOLUME ["/etc/gitlab", "/var/opt/gitlab", "/var/log/gitlab"]
# Copy assets
COPY assets/wrapper /usr/local/bin/