diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-06-26 15:19:58 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-06 16:42:52 +0200 |
commit | 2b5007245adfd31e31fd2917902494853ecbc931 (patch) | |
tree | 8c74031276d9cc6a2c592cf9a1e121034209de95 | |
parent | 17446ff0c98e870f0500279983432e5115e060a4 (diff) | |
download | gitlab-ce-2b5007245adfd31e31fd2917902494853ecbc931.tar.gz |
Added data volumes to Dockerfile
-rw-r--r-- | docker/single/Dockerfile | 7 |
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/ |