agola/examples/config.yml
Simone Gotti 1e34dca95d runservice: split and simplify scheduler and executor naming
Also if they are logically part of the runservice the names runserviceExecutor
and runserviceScheduler are long and quite confusing for an external user

Simplify them separating both the code parts and updating the names:

runserviceScheduler -> runservice
runserviceExecutor -> executor
2019-05-07 23:56:10 +02:00

59 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
objectStorage:
type: posix
path: /tmp/agola/runservice/ost
etcd:
endpoints: "http://localhost:2379"
web:
listenAddress: ":4000"
executor:
dataDir: /tmp/agola/executor
toolboxPath: ./bin/agola-toolbox
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"