Docker: Use explicitly set container names

This commit is contained in:
Oscar Salvador Morillo Victoria 2016-05-22 21:47:08 +02:00
parent 3aaba77684
commit 27954f8096
1 changed files with 4 additions and 0 deletions

View File

@ -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: