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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
60887cf9
Commit
60887cf9
authored
May 07, 2015
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the volumes from the single image to keep it simple.
parent
b18dfc8d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
26 deletions
+6
-26
.gitignore
.gitignore
+0
-3
docker/README.md
docker/README.md
+5
-5
docker/single/marathon.json
docker/single/marathon.json
+1
-18
No files found.
.gitignore
View file @
60887cf9
...
...
@@ -40,6 +40,3 @@ rails_best_practices_output.html
/tags
tmp/
vendor/bundle/*
var-log-gitlab/
var-opt-gitlab/
etc-gitlab/
docker/README.md
View file @
60887cf9
...
...
@@ -11,7 +11,7 @@ After starting a container you can go to [http://localhost:8080/](http://localho
It might take a while before the docker container is responding to queries.
You can check the status with
`sudo docker logs -f gitlab-ce
`
.
You can check the status with
something like
`sudo docker logs -f 7c10172d7705
`
.
You can login to the web interface with username
`root`
and password
`5iveL!fe`
.
...
...
@@ -43,10 +43,10 @@ sudo docker pull sytse/gitlab-ce:7.10.1
Run the image:
```
bash
sudo
docker run
--detach
--
name
gitlab-ce
--publish
8080:80
--publish
2222:22 gitlab-ce
sudo
docker run
--detach
--
publish
8080:80
--publish
2222:22 sytse/gitlab-ce:7.10.1
```
After this you can login to the web interface as explained
in 'After starting a container'
After this you can login to the web interface as explained
above in 'After starting a container'.
Build the image:
...
...
@@ -63,7 +63,7 @@ sudo docker push sytse/gitlab-ce
Diagnosing commands:
```
bash
docker run
-i
-t
-v
`
pwd
`
/var-opt-gitlab:/var/opt/gitlab
-v
`
pwd
`
/var-log-gitlab:/var/log/gitlab
-v
`
pwd
`
/etc-gitlab:/etc/gitlab
sytse/gitlab-ce:7.10.1
sudo
docker run
-i
-t
sytse/gitlab-ce:7.10.1
sudo
docker run
-ti
-e
TERM
=
linux
--name
gitlab-ce-troubleshoot
--publish
8080:80
--publish
2222:22 sytse/gitlab-ce:7.10.1 bash /usr/local/bin/wrapper
```
...
...
@@ -83,7 +83,7 @@ sudo docker run --name gitlab-data sytse/gitlab-data /bin/true
sudo
docker run
--detach
--name
gitlab_app
--publish
8080:80
--publish
2222:22
--volumes-from
gitlab_data sytse/gitlab-app:7.10.1
```
Now please refer to the section above
'After starting a container'.
After this you can login to the web interface as explained above in
'After starting a container'.
### Build images
...
...
docker/single/marathon.json
View file @
60887cf9
...
...
@@ -9,23 +9,6 @@
"docker"
:
{
"network"
:
"HOST"
,
"image"
:
"sytse/gitlab-ce:7.10.1"
},
"volumes"
:
[
{
"containerPath"
:
"/var/opt/gitlab"
,
"hostPath"
:
"/var/opt/gitlab"
,
"mode"
:
"RW"
},
{
"containerPath"
:
"/var/log/gitlab"
,
"hostPath"
:
"/var/log/gitlab"
,
"mode"
:
"RW"
},
{
"containerPath"
:
"/etc/gitlab"
,
"hostPath"
:
"/etc/gitlab"
,
"mode"
:
"RW"
}
]
}
}
}
\ No newline at end of file
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