mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00

Add a docker compose configuration, allowing to easily create a local autobuilder instance. Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
675 B
YAML
37 lines
675 B
YAML
# Expose buildbot on http://localhost:8010/
|
|
|
|
---
|
|
|
|
services:
|
|
controller:
|
|
build: .
|
|
volumes:
|
|
- sharedrepo:/sharedrepo
|
|
- publish:/publish
|
|
- mirror:/home/pokybuild/git/mirror
|
|
- srvautobuilder:/srv/autobuilder
|
|
ports:
|
|
- 8010:8010
|
|
stdin_open: true
|
|
tty: true
|
|
cpus: 4
|
|
command: controller
|
|
worker:
|
|
build: .
|
|
volumes:
|
|
- sharedrepo:/sharedrepo
|
|
- publish:/publish
|
|
- mirror:/home/pokybuild/git/mirror
|
|
- srvautobuilder:/srv/autobuilder
|
|
stdin_open: true
|
|
tty: true
|
|
cpus: 8
|
|
command: worker yocto-worker
|
|
mem_limit: 16gb
|
|
|
|
volumes:
|
|
sharedrepo:
|
|
publish:
|
|
mirror:
|
|
srvautobuilder:
|