agola/examples/agolademo/config.yml

60 lines
1.4 KiB
YAML

gateway:
apiExposedURL: "http://172.17.0.1:8000"
webExposedURL: "http://172.17.0.1:8080"
runserviceURL: "http://localhost:4000"
configstoreURL: "http://localhost:4002"
gitserverURL: "http://172.17.0.1:4003"
web:
listenAddress: ":8000"
tokenSigning:
# hmac or rsa (it possible use rsa)
method: hmac
# key to use when signing with hmac
key: supersecretsigningkey
# paths to the private and public keys in pem encoding when using rsa signing
#privateKeyPath: /path/to/privatekey.pem
#publicKeyPath: /path/to/public.pem
adminToken: "admintoken"
scheduler:
runserviceURL: "http://localhost:4000"
configstore:
dataDir: /tmp/agola/configstore
etcd:
endpoints: "http://localhost:2379"
objectStorage:
type: posix
path: /tmp/agola/configstore/ost
web:
listenAddress: ":4002"
runservice:
#debug: true
dataDir: /tmp/agola/runservice
etcd:
endpoints: "http://localhost:2379"
objectStorage:
type: posix
path: /tmp/agola/runservice/ost
web:
listenAddress: ":4000"
executor:
dataDir: /tmp/agola/executor
# The directory containing the toolbox compiled for the various supported architectures
toolboxPath: ./bin
runserviceURL: "http://localhost:4000"
web:
listenAddress: ":4001"
activeTasksLimit: 2
driver:
type: docker
gitserver:
dataDir: /tmp/agola/gitserver
githookPath: ./bin/agola-git-hook
gatewayURL: "http://localhost:8000"
web:
listenAddress: ":4003"