bromite-buildtools/images/buildstack.yml

118 lines
2.5 KiB
YAML
Raw Normal View History

2021-06-29 20:40:55 +05:30
version: "3.9"
services:
2021-10-08 17:38:33 +05:30
buildboxcasd:
image: uazo/buildboxcasd
2021-07-31 17:45:32 +05:30
networks:
- bridge-ext
env_file:
- buildstack.env
volumes:
2021-10-08 17:38:33 +05:30
- /cache:/wrk-cache:rw
2021-07-31 17:45:32 +05:30
deploy:
mode: global
placement:
max_replicas_per_node: 1
2021-10-08 17:38:33 +05:30
buildboxrunner-32:
image: uazo/buildboxrunner
networks:
- bridge-int
depends_on:
- buildboxcasd
volumes:
- /cache:/wrk-cache:rw
deploy:
replicas: 40
placement:
max_replicas_per_node: 30
constraints: [node.labels.gomarunners == 32]
2021-07-31 17:45:32 +05:30
2021-10-08 17:38:33 +05:30
buildboxrunner-12:
image: uazo/buildboxrunner
2021-06-29 20:40:55 +05:30
networks:
2021-10-08 17:38:33 +05:30
- bridge-int
depends_on:
- buildboxcasd
2021-06-29 20:40:55 +05:30
volumes:
2021-10-08 17:38:33 +05:30
- /cache:/wrk-cache:rw
2021-06-29 20:40:55 +05:30
deploy:
2021-10-08 17:38:33 +05:30
replicas: 60
2021-06-29 20:40:55 +05:30
placement:
2021-10-08 17:38:33 +05:30
max_replicas_per_node: 12
constraints: [node.labels.gomarunners == 12]
2021-06-29 20:40:55 +05:30
buildboxrunner-8:
image: uazo/buildboxrunner
networks:
- bridge-int
depends_on:
- buildboxcasd
volumes:
2021-10-08 17:38:33 +05:30
- /cache:/wrk-cache:rw
2021-06-29 20:40:55 +05:30
deploy:
2021-10-08 17:38:33 +05:30
replicas: 60
2021-06-29 20:40:55 +05:30
placement:
max_replicas_per_node: 8
constraints: [node.labels.gomarunners == 8]
2021-07-31 17:45:32 +05:30
buildboxrunner-6:
image: uazo/buildboxrunner
networks:
- bridge-int
depends_on:
- buildboxcasd
volumes:
2021-10-08 17:38:33 +05:30
- /cache:/wrk-cache:rw
2021-07-31 17:45:32 +05:30
deploy:
2021-10-08 17:38:33 +05:30
replicas: 60
2021-07-31 17:45:32 +05:30
placement:
max_replicas_per_node: 6
constraints: [node.labels.gomarunners == 6]
2021-06-29 20:40:55 +05:30
buildboxrunner-4:
image: uazo/buildboxrunner
networks:
- bridge-int
depends_on:
- buildboxcasd
volumes:
2021-10-08 17:38:33 +05:30
- /cache:/wrk-cache:rw
2021-06-29 20:40:55 +05:30
deploy:
2021-10-08 17:38:33 +05:30
replicas: 60
2021-06-29 20:40:55 +05:30
placement:
max_replicas_per_node: 4
constraints: [node.labels.gomarunners == 4]
2021-10-08 17:38:33 +05:30
buildboxrunner-2:
image: uazo/buildboxrunner
networks:
- bridge-int
depends_on:
- buildboxcasd
volumes:
- /cache:/wrk-cache:rw
deploy:
replicas: 60
placement:
max_replicas_per_node: 2
constraints: [node.labels.gomarunners == 2]
2021-06-29 20:40:55 +05:30
networks:
bridge-int:
driver: overlay
driver_opts:
com.docker.network.bridge.name: build-bridge-int
com.docker.network.bridge.enable_icc: "false"
com.docker.network.bridge.enable_ip_masquerade: "false"
com.docker.network.bridge.default_bridge: "false"
name: build-bridge-int
internal: true
bridge-ext:
driver: overlay
driver_opts:
com.docker.network.bridge.name: build-bridge-ext
com.docker.network.bridge.enable_icc: "false"
name: build-bridge-ext