Skip to content

Commit

Permalink
Use specific names for images.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jul 15, 2024
1 parent 7db32b4 commit a929ca2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
container_name: codingstyle-jenkins
build:
context: docker/images/jenkins-controller
image: codingstyle/jenkins-controller
volumes:
- ./docker/volumes/jenkins-home:/var/jenkins_home # Mounts the local jenkins_home volume to the /var/jenkins_home path inside the container
- agent-ssh-dir:/ssh-dir # Mounts the shared volume agent-ssh-dir to a path inside the container
Expand All @@ -29,6 +30,7 @@ services:
container_name: codingstyle-key-generator
build:
context: docker/images/key-generator
image: codingstyle/key-generator
stdin_open: true
tty: true
# The entrypoint script generates the SSH keys and outputs them to the /ssh-dir directory.
Expand All @@ -46,6 +48,7 @@ services:
java-agent:
container_name: codingstyle-java-agent
build: docker/images/java-agent
image: codingstyle/java-agent
depends_on:
key-generator:
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
Expand Down

0 comments on commit a929ca2

Please sign in to comment.