Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cb012eed
Commit
cb012eed
authored
Dec 17, 2021
by
Sad Pencil
Committed by
Achilleas Pipinellis
Dec 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add shm_size option for all docker example
parent
bc31ddeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
doc/install/docker.md
doc/install/docker.md
+9
-0
No files found.
doc/install/docker.md
View file @
cb012eed
...
...
@@ -81,6 +81,7 @@ sudo docker run --detach \
--volume
$GITLAB_HOME
/config:/etc/gitlab
\
--volume
$GITLAB_HOME
/logs:/var/log/gitlab
\
--volume
$GITLAB_HOME
/data:/var/opt/gitlab
\
--shm-size
256m
\
gitlab/gitlab-ee:latest
```
...
...
@@ -99,6 +100,7 @@ sudo docker run --detach \
--volume
$GITLAB_HOME
/config:/etc/gitlab:Z
\
--volume
$GITLAB_HOME
/logs:/var/log/gitlab:Z
\
--volume
$GITLAB_HOME
/data:/var/opt/gitlab:Z
\
--shm-size
256m
\
gitlab/gitlab-ee:latest
```
...
...
@@ -155,6 +157,7 @@ install, and upgrade your Docker-based GitLab installation:
-
'
$GITLAB_HOME/config:/etc/gitlab'
-
'
$GITLAB_HOME/logs:/var/log/gitlab'
-
'
$GITLAB_HOME/data:/var/opt/gitlab'
shm_size
:
'
256m'
```
1.
Make sure you are in the same directory as
`docker-compose.yml`
and start
...
...
@@ -188,6 +191,7 @@ web:
-
'
$GITLAB_HOME/config:/etc/gitlab'
-
'
$GITLAB_HOME/logs:/var/log/gitlab'
-
'
$GITLAB_HOME/data:/var/opt/gitlab'
shm_size
:
'
256m'
```
This is the same as using
`--publish 8929:8929 --publish 2224:22`
.
...
...
@@ -221,6 +225,7 @@ Here's an example that deploys GitLab with four runners as a [stack](https://doc
-
$GITLAB_HOME/data:/var/opt/gitlab
-
$GITLAB_HOME/logs:/var/log/gitlab
-
$GITLAB_HOME/config:/etc/gitlab
shm_size
:
'
256m'
environment
:
GITLAB_OMNIBUS_CONFIG
:
"
from_file('/omnibus_config.rb')"
configs
:
...
...
@@ -325,6 +330,7 @@ sudo docker run --detach \
--volume
$GITLAB_HOME
/config:/etc/gitlab
\
--volume
$GITLAB_HOME
/logs:/var/log/gitlab
\
--volume
$GITLAB_HOME
/data:/var/opt/gitlab
\
--shm-size
256m
\
gitlab/gitlab-ee:latest
```
...
...
@@ -361,6 +367,7 @@ sudo docker run --detach \
--volume
$GITLAB_HOME
/config:/etc/gitlab
\
--volume
$GITLAB_HOME
/logs:/var/log/gitlab
\
--volume
$GITLAB_HOME
/data:/var/opt/gitlab
\
--shm-size
256m
\
gitlab/gitlab-ee:latest
```
...
...
@@ -388,6 +395,7 @@ port `2289`:
--volume
$GITLAB_HOME
/config:/etc/gitlab
\
--volume
$GITLAB_HOME
/logs:/var/log/gitlab
\
--volume
$GITLAB_HOME
/data:/var/opt/gitlab
\
--shm-size
256m
\
gitlab/gitlab-ee:latest
```
...
...
@@ -477,6 +485,7 @@ To update GitLab that was [installed using Docker Engine](#install-gitlab-using-
--volume
$GITLAB_HOME
/config:/etc/gitlab
\
--volume
$GITLAB_HOME
/logs:/var/log/gitlab
\
--volume
$GITLAB_HOME
/data:/var/opt/gitlab
\
--shm-size
256m
\
gitlab/gitlab-ee:latest
```
...
...
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