Commit 2b500724 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Added data volumes to Dockerfile

parent 17446ff0
...@@ -23,8 +23,11 @@ RUN mkdir -p /opt/gitlab/sv/sshd/supervise \ ...@@ -23,8 +23,11 @@ RUN mkdir -p /opt/gitlab/sv/sshd/supervise \
&& ln -s /opt/gitlab/sv/sshd /opt/gitlab/service \ && ln -s /opt/gitlab/sv/sshd /opt/gitlab/service \
&& mkdir -p /var/run/sshd && mkdir -p /var/run/sshd
# Expose web & ssh # Expose https & http & ssh
EXPOSE 80 22 EXPOSE 443 80 22
# Define data volumes
VOLUME ["/etc/gitlab", "/var/opt/gitlab", "/var/log/gitlab"]
# Copy assets # Copy assets
COPY assets/wrapper /usr/local/bin/ COPY assets/wrapper /usr/local/bin/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment