-
Notifications
You must be signed in to change notification settings - Fork 1
/
cluster-manager.properties
133 lines (114 loc) · 4.95 KB
/
cluster-manager.properties
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
128
129
130
131
# ===================================================================
# LIST OF PROPERTIES WITH DEFAULT VALUES
#
# This sample file is provided as a guideline.
# ===================================================================
# ----------------------------------------
# GIT REPO WITH SERVER PROPERTIES. FOR SETTING USE ENV. VARIABLES
# ----------------------------------------
# Repo with server configuration
dm.config.git.uri=https://github.com/codeabovelab/dockmaster-example-configuration.git
dm.config.git.username
dm.config.git.password
# ----------------------------------------
# HTTP PROPERTIES
# ----------------------------------------
# Server HTTP port
dm.server.port=8761
# ----------------------------------------
# DATA LOCATION PROPERTIES
# ----------------------------------------
# Root location. "/data" dir is marked as volume in docker image, system logs are located in /data/log dir
dm.data.location=/data
# ----------------------------------------
# KV PROPERTIES
# ----------------------------------------
# ETCD urls ex.: http://10.0.0.1:2379
#dm.kv.etcd.urls=
#Dir for data in KV
dm.kv.prefix=/cluman
# ----------------------------------------
# GIT REPO WITH CONTAINERS PROPERTIES
# ----------------------------------------
dm.image.configuration.git.url=https://github.com/codeabovelab/dockmaster-example-container-configuration.git
dm.image.configuration.git.username=
dm.image.configuration.git.password=
# ----------------------------------------
# SWARM PROPERTIES
# ----------------------------------------
# Path to swarm executable. Optional.
dm.swarm-exec.path=swarm
# Address which is used for binding of swarm.
dm.swarm-exec.address=127.0.0.1
# Min value of swarm port
dm.swarm-exec.minPort=2376
# Max value of swarm port
dm.swarm-exec.maxPort=2976
# Directory for log of each running swarm process, /data dir exposed as Volume in container
dm.swarm-exec.logDir=${dm.data.location}/swarm/log
# Max number of swarm processes (max number of clusters)
dm.swarm-exec.maxProcesses=100
# Max time in seconds for waiting of process start
dm.swarm-exec.maxWaitOnStart=10
#dm.swarm-exec.strategy=DEFAULT # DEFAULT,SPREAD,BINPACK,RANDOM;
# Manual configuration of swarm
#dm.swarm.configs.firstCluster.hosts=10.0.0.1:2375
dm.dockerServices.cacheTimeout=60000
dm.dockerServices.refreshInfoSeconds=10
# ----------------------------------------
# COMPOSE PROPERTIES
# ----------------------------------------
dm.compose.monitor.check.interval.sec:2
# Dir for storing compose files
dm.compose.files.location=${dm.data.location}/compose
# ----------------------------------------
# EMAIL PROPERTIES
# ----------------------------------------
# ----------------------------------------
# REISTRIES PROPERTIES
# ----------------------------------------
# Set whether to check https cert of docker registries
dm.ssl.check=true
# T/O for connecting to registry
dm.registry.connect.to=10000
# T/O for reading data from registry
dm.registry.read.to=20000
dm.registry.dockerhub.search.url=https://registry.hub.docker.com
dm.registry.dockerhub.url=https://registry-1.docker.io
# Example of config configuration
#dm.registries.privateRegistry[0].url=https://ni1.codeabovelab.com
#dm.registries.privateRegistry[0].username=codeabovelab_test_user
#dm.registries.privateRegistry[0].password=codeabovelab_test_password
#dm.registries.awsRegistry[0].accessKey=
#dm.registries.awsRegistry[0].secretKey=
#dm.registries.awsRegistry[0].region=
#dm.registries.hubRegistry[0].username=
#dm.registries.hubRegistry[0].password=
# ----------------------------------------
# ACL PROPERTIES
# ----------------------------------------
#Parser expressions like value from property:
# values from {@link Action#getLetter()}
# \___
# / \
#dm.security.acl.list[CONTAINER@cont234] = system@root, grant sam@root R , grant ROLE_USER@root CRUDE
#dm.security.acl.list[CONTAINER@cont235] = system@root, grant ROLE_USER@root CRUDE
# \_type__/ \_id__/ \____/ \__/ \___/ \_______/ \__/
# owner^ / | | ^tenant
# tenant^ | role or user (role always start with 'ROLE_')
# 'grant' or 'revoke'^
# ----------------------------------------
# JOB PROPERTIES
# ----------------------------------------
# Max number of concurrently executed scheduled jobs
dm.job.schedulerPoolSize=100
# Max number of concurrently executed jobs
dm.job.executorPoolSize=100
# Time which executed job remaining in system.
dm.job.executedJobLifetime=P1D
# ----------------------------------------
# REST PROPERTIES
# ----------------------------------------
dm.fbstorage.location=${dm.data.location}/fbstorage
dm.security.cipher.password=abracadabra
dm.security.cipher.salt=536f6469756d5f43686c6f726964650a