Docker: Use explicitly set container names
This commit is contained in:
parent
3aaba77684
commit
27954f8096
|
@ -1,4 +1,5 @@
|
|||
postgresql:
|
||||
container_name: docker-postgresql
|
||||
restart: always
|
||||
image: sameersbn/postgresql:9.4-21
|
||||
environment:
|
||||
|
@ -9,6 +10,7 @@ postgresql:
|
|||
volumes:
|
||||
- /srv/docker/gitlab/postgresql:/var/lib/postgresql
|
||||
gitlab:
|
||||
container_name: docker-gitlab
|
||||
restart: always
|
||||
image: sameersbn/gitlab:8.7.3
|
||||
links:
|
||||
|
@ -58,11 +60,13 @@ gitlab:
|
|||
volumes:
|
||||
- /srv/docker/gitlab/gitlab:/home/git/data
|
||||
redis:
|
||||
container_name: docker-redis
|
||||
restart: always
|
||||
image: sameersbn/redis:latest
|
||||
volumes:
|
||||
- /srv/docker/gitlab/redis:/var/lib/redis
|
||||
jenkins:
|
||||
container_name: docker-jenkins
|
||||
restart: always
|
||||
image: jenkins:2.3
|
||||
ports:
|
||||
|
|
Loading…
Reference in New Issue