Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit 601dfd4

Browse files
author
Gauvain Pocentek
committed
update docker-compose.yml
1 parent 3aea40c commit 601dfd4

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

docker-compose.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
data:
2-
build: .
3-
entrypoint: ["/bin/true"]
4-
volumes:
5-
- "/var/opt/gitlab"
6-
- "/var/log/gitlab"
7-
- "/etc/gitlab"
8-
app:
9-
build: .
10-
ports:
11-
- "8080:80"
12-
- "2222:22"
13-
volumes_from:
14-
- data
1+
version: "2"
2+
services:
3+
gitlab:
4+
build: .
5+
ports:
6+
- "8080:80"
7+
- "2222:22"
8+
volumes:
9+
- gitlab_opt:/var/opt/gitlab
10+
- gitlab_log:/var/log/gitlab
11+
- gitlab_etc:/etc/gitlab
12+
13+
volumes:
14+
gitlab_opt:
15+
gitlab_log:
16+
gitlab_etc:

0 commit comments

Comments
 (0)