Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit1ed9c1b

Browse files
author
Gauvain Pocentek
committed
Enable gitlab pages
1 parentee6006b commit1ed9c1b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎Dockerfile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ RUN mkdir -p /opt/gitlab/sv/sshd/supervise \
2222
&& mkdir -p /var/run/sshd
2323

2424
# Default root password
25-
RUN echo"gitlab_rails['initial_root_password'] = '5iveL!fe'" >> /etc/gitlab/gitlab.rb
26-
RUN sed -i"s,^external_url.*,external_url 'http://gitlab.test'," /etc/gitlab/gitlab.rb
25+
RUN echo"gitlab_rails['initial_root_password'] = '5iveL!fe'" >> /etc/gitlab/gitlab.rb; \
26+
sed -i"s,^external_url.*,external_url 'http://gitlab.test'," /etc/gitlab/gitlab.rb; \
27+
echo'pages_external_url "http://pages.gitlab.lxd/"' >> /etc/gitlab/gitlab.rb; \
28+
echo"gitlab_pages['enable'] = true" >> /etc/gitlab/gitlab.rb
2729

2830
# Expose web & ssh
2931
EXPOSE 80 22

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp