Skip to content

Commit

Permalink
Container fixed names
Browse files Browse the repository at this point in the history
Signed-off-by: Damien DUPORTAL <[email protected]>
  • Loading branch information
dduportal committed Apr 2, 2017
1 parent 518dc41 commit 395b9f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:

front:
build: ./front/
container_name: front
restart: unless-stopped
depends_on:
- gitserver
Expand All @@ -22,6 +23,7 @@ services:
- FIRST_USER=butler
- FIRST_REPO_NAME=worker
- SOURCE_REPO_TO_MIRROR=https://github.com/jenkins-demo-org/worker
container_name: gitserver
restart: unless-stopped
extra_hosts:
- "${EXTERNAL_DOMAIN}:172.17.0.1" # For webhooks
Expand All @@ -30,6 +32,7 @@ services:

jenkins:
build: ./jenkins/
container_name: jenkins
restart: unless-stopped
extra_hosts:
- "${EXTERNAL_DOMAIN}:172.17.0.1" # For getting git repo
Expand All @@ -38,6 +41,7 @@ services:

docker-agent:
build: ./docker-agent/
container_name: docker-agent
restart: unless-stopped
volumes:
- agent-data:/home/jenkins
Expand All @@ -50,6 +54,7 @@ services:
devbox:
build: ./devbox/
restart: unless-stopped
container_name: devbox
ports:
- "9090:9090"
environment:
Expand All @@ -59,12 +64,14 @@ services:

registry:
image: registry:2
container_name: registry
restart: unless-stopped
ports:
- "5000:5000"

docker-service:
image: verb/socat:alpine
container_name: docker-service
restart: unless-stopped
command: tcp-listen:2375,reuseaddr,fork unix:/docker.sock
ports:
Expand Down

0 comments on commit 395b9f3

Please sign in to comment.