blob: c1e90e9a7cf196e159c58a3a3318b37347673a30 [file] [log] [blame]
##
# Buildbarn Compose manifest for BuildStream.
#
# Spins-up a unnamed and unauthenticated cache server:
# - STORAGE at http://localhost:7982
# - INDEX at: http://localhost:7981
#
# BuildStream configuration snippet:
#
# artifacts:
# - url: https://localhost:7981
# type: index
# push: true
# - url: https://localhost:7982
# type: storage
# push: true
#
# Basic usage:
# - docker-compose -f ci.buildbarn.yml up
# - docker-compose -f ci.buildbarn.yml down
version: '3.4'
services:
bb-asset:
image: buildbarn/bb-remote-asset:20200903T103837Z-90136c4
command: /config/asset.jsonnet
restart: unless-stopped
ports:
- "7981:7981"
volumes:
- type: volume
source: assets
target: /storage
- type: bind
source: ./buildbarn-config/
target: /config
bb-storage:
image: buildbarn/bb-storage:20200816T115912Z-d83e1f0
command: /config/storage.jsonnet
restart: unless-stopped
ports:
- "7982:7982"
volumes:
- type: volume
source: cas
target: /cas
- type: bind
source: ./buildbarn-config/
target: /config
volumes:
assets:
cas: