chore: capture Jenkins Docker baseline
This commit is contained in:
56
docker-compose.yml
Normal file
56
docker-compose.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
services:
|
||||
jenkins-controller:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: controller/Dockerfile
|
||||
ports:
|
||||
- "8090:8080"
|
||||
environment:
|
||||
JENKINS_ADMIN_ID: "admin"
|
||||
secrets:
|
||||
- source: agent_ssh_private_key
|
||||
target: AGENT_SSH_PRIVATE_KEY
|
||||
- source: gitea_ultra2_app_private_key
|
||||
target: GITEA_ULTRA2_APP_PRIVATE_KEY
|
||||
- source: jenkins_admin_password
|
||||
target: JENKINS_ADMIN_PASSWORD
|
||||
volumes:
|
||||
- jenkins_home:/var/jenkins_home
|
||||
- ./controller/casc:/var/jenkins_home/casc_configs:ro
|
||||
networks:
|
||||
- jenkins-net
|
||||
|
||||
mcuxpresso-agent:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: agents/mcuxpresso/Dockerfile
|
||||
hostname: mcuxpresso-agent
|
||||
ports:
|
||||
- "2222:22"
|
||||
volumes:
|
||||
- ./sdks:/opt/mcux-sdks:ro
|
||||
- ./secrets/gitea_known_hosts:/etc/ssh/ssh_known_hosts:ro
|
||||
networks:
|
||||
- jenkins-net
|
||||
|
||||
mplabx-agent:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: agents/mplabx/Dockerfile
|
||||
hostname: mplabx-agent
|
||||
networks:
|
||||
- jenkins-net
|
||||
|
||||
networks:
|
||||
jenkins-net:
|
||||
|
||||
volumes:
|
||||
jenkins_home:
|
||||
|
||||
secrets:
|
||||
agent_ssh_private_key:
|
||||
file: ./secrets/agent_ssh_key
|
||||
gitea_ultra2_app_private_key:
|
||||
file: ./secrets/gitea_ultra2_app_key
|
||||
jenkins_admin_password:
|
||||
file: ./secrets/jenkins_admin_password.txt
|
||||
Reference in New Issue
Block a user