Skip to content

Commit 5db3db8

Browse files
Sazon, John Bryan Jbzon
authored andcommitted
Specify the docker image version and change the docker volume mounts
1 parent 1dee09a commit 5db3db8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
gitlab:
2-
image: 'gitlab/gitlab-ce:latest'
2+
image: 'gitlab/gitlab-ce:11.1.0-ce.0'
33
restart: always
44
environment:
55
GITLAB_ROOT_PASSWORD: '123qwe123'
@@ -8,6 +8,5 @@ gitlab:
88
ports:
99
- '10080:10080'
1010
volumes:
11-
- '/srv/gitlab/config:/etc/gitlab'
12-
- '/srv/gitlab/logs:/var/log/gitlab'
13-
- '/srv/gitlab/data:/var/opt/gitlab'
11+
- 'gitlab_config:/etc/gitlab'
12+
- 'gitlab_data:/var/opt/gitlab'

0 commit comments

Comments
 (0)