2024-11-12 07:49:27 +00:00
|
|
|
services:
|
|
|
|
jenkins1:
|
2024-11-12 10:13:31 +00:00
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.jenkins
|
2024-11-12 07:49:27 +00:00
|
|
|
container_name: jenkins1
|
2024-11-12 10:13:31 +00:00
|
|
|
restart: always
|
2024-11-12 07:49:27 +00:00
|
|
|
ports:
|
|
|
|
- "8081:8080"
|
|
|
|
volumes:
|
|
|
|
- jenkins_home1:/var/jenkins_home
|
|
|
|
- ./init.groovy.d:/var/jenkins_home/init.groovy.d
|
|
|
|
environment:
|
|
|
|
- JENKINS_USER=admin
|
|
|
|
- JENKINS_PASS=password
|
2024-11-12 10:13:31 +00:00
|
|
|
- TZ=Asia/Tokyo
|
2024-11-12 07:49:27 +00:00
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
jenkins2:
|
2024-11-12 10:13:31 +00:00
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.jenkins
|
2024-11-12 07:49:27 +00:00
|
|
|
container_name: jenkins2
|
2024-11-12 10:13:31 +00:00
|
|
|
restart: always
|
2024-11-12 07:49:27 +00:00
|
|
|
ports:
|
|
|
|
- "8082:8080"
|
|
|
|
volumes:
|
|
|
|
- jenkins_home2:/var/jenkins_home
|
|
|
|
- ./init.groovy.d:/var/jenkins_home/init.groovy.d
|
|
|
|
environment:
|
|
|
|
- JENKINS_USER=admin
|
|
|
|
- JENKINS_PASS=password
|
2024-11-12 10:13:31 +00:00
|
|
|
- TZ=Asia/Tokyo
|
2024-11-12 07:49:27 +00:00
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
jenkins3:
|
2024-11-12 10:13:31 +00:00
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.jenkins
|
2024-11-12 07:49:27 +00:00
|
|
|
container_name: jenkins3
|
2024-11-12 10:13:31 +00:00
|
|
|
restart: always
|
2024-11-12 07:49:27 +00:00
|
|
|
ports:
|
|
|
|
- "8083:8080"
|
|
|
|
volumes:
|
|
|
|
- jenkins_home3:/var/jenkins_home
|
|
|
|
- ./init.groovy.d:/var/jenkins_home/init.groovy.d
|
|
|
|
environment:
|
|
|
|
- JENKINS_USER=admin
|
|
|
|
- JENKINS_PASS=password
|
2024-11-12 10:13:31 +00:00
|
|
|
- TZ=Asia/Tokyo
|
2024-11-12 07:49:27 +00:00
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
jenkins4:
|
2024-11-12 10:13:31 +00:00
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.jenkins
|
2024-11-12 07:49:27 +00:00
|
|
|
container_name: jenkins4
|
2024-11-12 10:13:31 +00:00
|
|
|
restart: always
|
2024-11-12 07:49:27 +00:00
|
|
|
ports:
|
|
|
|
- "8084:8080"
|
|
|
|
volumes:
|
|
|
|
- jenkins_home4:/var/jenkins_home
|
|
|
|
- ./init.groovy.d:/var/jenkins_home/init.groovy.d
|
|
|
|
environment:
|
|
|
|
- JENKINS_USER=admin
|
|
|
|
- JENKINS_PASS=password
|
2024-11-12 10:13:31 +00:00
|
|
|
- TZ=Asia/Tokyo
|
2024-11-12 07:49:27 +00:00
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
jenkins5:
|
2024-11-12 10:13:31 +00:00
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.jenkins
|
2024-11-12 07:49:27 +00:00
|
|
|
container_name: jenkins5
|
2024-11-12 10:13:31 +00:00
|
|
|
restart: always
|
2024-11-12 07:49:27 +00:00
|
|
|
ports:
|
|
|
|
- "8085:8080"
|
|
|
|
volumes:
|
|
|
|
- jenkins_home5:/var/jenkins_home
|
|
|
|
- ./init.groovy.d:/var/jenkins_home/init.groovy.d
|
|
|
|
environment:
|
|
|
|
- JENKINS_USER=admin
|
|
|
|
- JENKINS_PASS=password
|
2024-11-12 10:13:31 +00:00
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
gitea:
|
|
|
|
image: gitea/gitea:latest
|
|
|
|
container_name: gitea
|
|
|
|
environment:
|
|
|
|
- USER_UID=1000
|
|
|
|
- USER_GID=1000
|
|
|
|
- GITEA__database__DB_TYPE=sqlite3
|
|
|
|
- GITEA__database__PATH=/data/gitea/gitea.db
|
|
|
|
- GITEA__server__ROOT_URL=http://192.168.36.39:3000/
|
|
|
|
- GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION=false
|
|
|
|
- GITEA__service__DISABLE_REGISTRATION_EMAIL_CONFIRMATION=true
|
|
|
|
- GITEA__webhook__ALLOWED_HOST_LIST=192.168.36.39
|
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
- "2222:22"
|
|
|
|
volumes:
|
|
|
|
- ./volume/gitea_data:/data
|
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
mattermost:
|
|
|
|
image: mattermost/mattermost-team-edition:latest
|
|
|
|
container_name: mattermost
|
|
|
|
environment:
|
|
|
|
- MM_SQLSETTINGS_DRIVERNAME=mysql
|
|
|
|
- MM_SQLSETTINGS_DATASOURCE=mattermost:mattermost@tcp(mysql:3306)/mattermost?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s
|
|
|
|
- MM_SERVICESETTINGS_SITEURL=http://192.168.36.39:4000
|
|
|
|
- MM_SERVICESETTINGS_DEFAULTLOCALE=ja
|
|
|
|
- MM_EMAILSETTINGS_REQUIREEMAILVERIFICATION=false
|
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
ports:
|
|
|
|
- "4000:8065"
|
|
|
|
volumes:
|
|
|
|
- ./volume/mattermost_data:/mattermost/data
|
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
image: mysql:8.0
|
|
|
|
container_name: mysql
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=password
|
|
|
|
- MYSQL_DATABASE=mattermost
|
|
|
|
- MYSQL_USER=mattermost
|
|
|
|
- MYSQL_PASSWORD=mattermost
|
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
volumes:
|
|
|
|
- ./volume/mysql_data:/var/lib/mysql
|
2024-11-12 07:49:27 +00:00
|
|
|
networks:
|
|
|
|
- jenkins_network
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
jenkins_home1:
|
|
|
|
jenkins_home2:
|
|
|
|
jenkins_home3:
|
|
|
|
jenkins_home4:
|
|
|
|
jenkins_home5:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
jenkins_network:
|