-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.ini
127 lines (105 loc) · 1.87 KB
/
sample.ini
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[code]
source = mongodb
db = codepack
collection = code
[codepack]
source = mongodb
db = codepack
collection = codepack
[argpack]
source = mongodb
db = codepack
collection = argpack
[delivery]
source = s3
bucket = codepack
path = delivery
[code_snapshot]
source = mongodb
db = codepack
collection = code_snapshot
[codepack_snapshot]
source = mongodb
db = codepack
collection = codepack_snapshot
[apiserver]
scheduler = http://localhost:8001
[scheduler]
source = mongodb
db = codepack
collection = scheduler
supervisor = http://localhost:8000
[worker]
source = kafka
topic = codepack
group_id = codepack_worker
interval = 1
supervisor = http://localhost:8000
; script_path = scripts/run_snapshot.py
logger = worker-logger
background = False
[supervisor]
source = kafka
topic = codepack
[docker_manager]
source = docker
; path = scripts
run_opt = {"dns": ["8.8.8.8"], "auto_remove": true}
[interpreter_manager]
path = /opt/codepack/anaconda3/envs
run_opt = {}
[logger]
; config_path = logging.json
name = error-logger
log_dir = logs
[ssh]
ssh_host = 1.2.3.4
ssh_port = 22
ssh_username = ?
ssh_password = ?
[mongodb]
host = localhost,?
port = 27017
username = ?
password = ?
replicaSet = ?
[mysql]
host = localhost
port = 3306
user = ?
passwd = ?
charset = utf8
cursorclass = pymysql.cursors.Cursor
; cursorclass = pymysql.cursors.DictCursor
[mssql]
host = localhost
port = 1433
user = ?
password = ?
charset = utf8
as_dict = False
[oracledb]
host = localhost
port = 1621
service_name = ?
user = ?
password = ?
as_dict = False
[kafka]
bootstrap_servers=?:9092,?:9092,?:9092
[rest_api]
my_service = https://?:?/?
[dynamodb]
service_name = dynamodb
region_name = ?
endpoint_url = https://?
aws_access_key_id = ?
aws_secret_access_key = ?
[docker]
base_url = unix://var/run/docker.sock
[s3]
service_name = s3
region_name = ?
endpoint_url = https://?
aws_access_key_id = ?
aws_secret_access_key = ?