-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.dist.yml
110 lines (103 loc) · 4.77 KB
/
config.dist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# General App Configs
app:
# Env mode (dev or prod)
mode: ${RABBIT_APP_MODE:-dev}
# HTTP port
port: ${RABBIT_APP_PORT:-8080}
# App URL
domain: ${RABBIT_APP_DOMAIN:-http://127.0.0.1:8080}
# TLS configs
tls:
status: ${RABBIT_APP_TLS_STATUS:-off}
pemPath: ${RABBIT_APP_TLS_PEMPATH:-cert/server.pem}
keyPath: ${RABBIT_APP_TLS_KEYPATH:-cert/server.key}
# Redis Configs
redis:
addr: ${RABBIT_REDIS_ADDR:-localhost:6379}
password: ${RABBIT_REDIS_PASSWORD:- }
db: ${RABBIT_REDIS_DB:-0}
# Message Broker Configs
broker:
# Broker driver (native or redis)
driver: ${RABBIT_BROKER_DRIVER:-native}
# Native driver configs
native:
# Queue max capacity
capacity: ${RABBIT_BROKER_NATIVE_CAPACITY:-50}
# Number of concurrent workers
workers: ${RABBIT_BROKER_NATIVE_WORKERS:-1}
# Redis configs
redis:
channel: ${RABBIT_BROKER_REDIS_CHANNEL:-rabbit}
# Log configs
log:
# Log level, it can be debug, info, warn, error, panic, fatal
level: ${RABBIT_LOG_LEVEL:-warn}
# output can be stdout or abs path to log file /var/logs/rabbit.log
output: ${RABBIT_LOG_OUTPUT:-stdout}
# Format can be json
format: ${RABBIT_LOG_FORMAT:-json}
# Release configs
releases:
# Releases absolute path
path: ${RABBIT_RELEASES_PATH:-/app/var/releases}
name: ${RABBIT_RELEASES_NAME:-"[.Tag]"}
# Build configs
build:
# Build absolute path
path: ${RABBIT_BUILD_PATH:-/app/var/build}
# Number of parallel builds
parallelism: ${RABBIT_BUILD_PARALLELISM:-1}
# Application Database
database:
# Database driver (redis)
driver: ${RABBIT_DATABASE_DRIVER:-redis}
# Redis
redis:
hash_prefix: ${RABBIT_DATABASE_REDIS_HASH_PREFIX:-rabbit_}
# Third Party API Integration
integrations:
# Github Configs
github:
# Webhook URI (Full URL will be app.domain + webhook_uri)
webhook_uri: ${RABBIT_INTEGRATION_GITHUB_WEBHOOK_URI:-/webhook/github}
# Webhook Secret (From Repo settings page > Webhooks)
webhook_secret: ${RABBIT_INTEGRATION_GITHUB_WEBHOOK_SECRET:- }
# whether to use ssh or https to clone
clone_with: ${RABBIT_INTEGRATION_GITHUB_CLONE_WITH:-https}
# HTTPS URL format, Full name will be something like Clivern/Rabbit
https_format: ${RABBIT_INTEGRATION_GITHUB_HTTPS_FORMAT:-https://github.com/[.RepoFullName].git}
# SSH URL format, Full name will be something like Clivern/Rabbit
ssh_format: ${RABBIT_INTEGRATION_GITHUB_SSH_FORMAT:[email protected]:[.RepoFullName].git}
# Bitbucket Configs
bitbucket:
# Webhook URI (Full URL will be app.domain + webhook_uri)
webhook_uri: ${RABBIT_INTEGRATION_BITBUCKET_WEBHOOK_URI:-/webhook/bitbucket}
# whether to use ssh or https to clone
clone_with: ${RABBIT_INTEGRATION_BITBUCKET_CLONE_WITH:-https}
# HTTPS URL format, Full name will be something like Clivern/Rabbit
https_format: ${RABBIT_INTEGRATION_BITBUCKET_HTTPS_FORMAT:-https://bitbucket.org/[.RepoFullName].git}
# SSH URL format, Full name will be something like Clivern/Rabbit
ssh_format: ${RABBIT_INTEGRATION_BITBUCKET_SSH_FORMAT:[email protected]:[.RepoFullName].git}
bitbucket_server:
# Webhook URI (Full URL will be app.domain + webhook_uri)
webhook_uri: ${RABBIT_INTEGRATION_BITBUCKET_SERVER_WEBHOOK_URI:-/webhook/bitbucket-server}
# Webhook Secret (From Repo settings page > Webhooks)
webhook_secret: ${RABBIT_INTEGRATION_BITBUCKET_SERVER_WEBHOOK_SECRET:- }
# whether to use ssh or https to clone
clone_with: ${RABBIT_INTEGRATION_BITBUCKET_SERVER_CLONE_WITH:-https}
# HTTPS URL format, Full name will be something like Clivern/Rabbit
https_format: ${RABBIT_INTEGRATION_BITBUCKET_SERVER_HTTPS_FORMAT:-https://git.bitbucket.com/scm/[.RepoFullName].git}
# SSH URL format, Full name will be something like Clivern/Rabbit
ssh_format: ${RABBIT_INTEGRATION_BITBUCKET_SERVER_SSH_FORMAT:-ssh://[email protected]/[.RepoFullName].git}
gitlab:
# Webhook URI (Full URL will be app.domain + webhook_uri)
webhook_uri: ${RABBIT_INTEGRATION_GITLAB_WEBHOOK_URI:-/webhook/gitlab}
# Webhook Secret (From Repo settings page > Webhooks)
webhook_secret: ${RABBIT_INTEGRATION_GITLAB_WEBHOOK_SECRET:- }
# whether to use ssh or https to clone
clone_with: ${RABBIT_INTEGRATION_GITLAB_CLONE_WITH:-https}
# HTTPS URL format, Full name will be something like Clivern/Rabbit
https_format: ${RABBIT_INTEGRATION_GITLAB_HTTPS_FORMAT:-https://gitlab.com/[.RepoFullName].git}
# SSH URL format, Full name will be something like Clivern/Rabbit
ssh_format: ${RABBIT_INTEGRATION_GITLAB_SSH_FORMAT:[email protected]:[.RepoFullName].git}