BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
753f34c8
Commit
753f34c8
authored
Jul 14, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docker image
parent
997a3b1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Dockerfile
docker/Dockerfile
+3
-1
wrapper
docker/assets/wrapper
+5
-0
No files found.
docker/Dockerfile
View file @
753f34c8
...
...
@@ -30,7 +30,9 @@ RUN ( \
echo
""
&&
\
echo
"# Docker options"
&&
\
echo
"# Prevent Postgres from trying to allocate 25% of total memory"
&&
\
echo
"postgresql['shared_buffers'] = '1MB'"
)
>>
/etc/gitlab/gitlab.rb
echo
"postgresql['shared_buffers'] = '1MB'"
)
>>
/etc/gitlab/gitlab.rb
&&
\
mkdir
-p
/assets/
&&
\
cp
/etc/gitlab/gitlab.rb /assets/gitlab.rb
# Expose web & ssh
EXPOSE
443 80 22
...
...
docker/assets/wrapper
View file @
753f34c8
...
...
@@ -13,4 +13,9 @@ function entrypoint() {
gitlab-ctl
tail
# tail all logs
}
if
[[
!
-e
/etc/gitlab/gitlab.rb
]]
;
then
cp
/assets/gitlab.rb /etc/gitlab/gitlab.rb
chmod
0600 /etc/gitlab/gitlab.rb
fi
entrypoint
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment