File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ services:
77 command :
88 - --loglevel warning
99 volumes :
10- - /srv/docker/gitlab/ redis:/var/lib/redis:Z
10+ - redis-data :/var/lib/redis:Z
1111
1212 postgresql :
1313 restart : always
1414 image : sameersbn/postgresql:10-2
1515 volumes :
16- - /srv/docker/gitlab/ postgresql:/var/lib/postgresql:Z
16+ - postgresql-data :/var/lib/postgresql:Z
1717 environment :
1818 - DB_USER=gitlab
1919 - DB_PASS=password
@@ -30,7 +30,7 @@ services:
3030 - " 10080:80"
3131 - " 10022:22"
3232 volumes :
33- - /srv/docker/ gitlab/gitlab :/home/git/data:Z
33+ - gitlab-data :/home/git/data:Z
3434 environment :
3535 - DEBUG=false
3636
@@ -150,3 +150,8 @@ services:
150150 - OAUTH_AZURE_API_KEY=
151151 - OAUTH_AZURE_API_SECRET=
152152 - OAUTH_AZURE_TENANT_ID=
153+
154+ volumes :
155+ redis-data :
156+ postgresql-data :
157+ gitlab-data :
You can’t perform that action at this time.
0 commit comments