-
Notifications
You must be signed in to change notification settings - Fork 323
/
application.conf
146 lines (131 loc) · 3.07 KB
/
application.conf
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
## Project Manager's application.conf
akka {
actor.debug.lifecycle = on
http {
server {
idle-timeout = infinite
remote-address-header = on
websocket.periodic-keep-alive-max-idle = 1 second
}
}
log-dead-letters = 1
log-dead-letters-during-shutdown = off
use-slf4j = on
}
logging-service {
logger {
akka.actor = info
akka.event = error
akka.io = error
akka.http = warn
akka.stream = error
akka.routing = error
java.lang.Runtime = warn
jdk.event.security = warn
ch.qos.logback.classic.net.SimpleSocketServer = error
ch.qos.logback.classic.net.SocketNode = error
java.lang.ProcessBuilder = warn
}
appenders = [
{
name = "socket"
hostname = "localhost"
hostname = ${?ENSO_LOGSERVER_HOSTNAME}
port = 6000
port = ${?ENSO_LOGSERVER_PORT}
},
{
name = "file"
}
]
default-appender = file
default-appender = ${?ENSO_APPENDER_DEFAULT}
log-to-file {
enable = true
enable = ${?ENSO_LOG_TO_FILE}
log-level = debug
log-level = ${?ENSO_LOG_TO_FILE_LOG_LEVEL}
}
server {
start = true
start = ${?ENSO_LOGSERVER_START}
port = 6000
port = ${?ENSO_LOGSERVER_PORT}
log-to-file {
enable = true
enable = ${?ENSO_LOG_TO_FILE}
log-level = debug
log-level = ${?ENSO_LOG_TO_FILE_LOG_LEVEL}
}
appenders = [ # file/console/socket/sentry
{
name = "file"
rolling-policy {
max-file-size = "100MB"
max-history = 30
max-total-size = "2GB"
},
immediate-flush = true
},
{
name = "sentry"
dsn = "<dsn>"
dsn = ${?ENSO_APPENDER_SENTRY_DSN}
},
{
name = "console"
}
]
default-appender = console
default-appender = ${?ENSO_LOGSERVER_APPENDER}
}
}
project-manager {
network {
interface = "127.0.0.1"
interface = ${?NETWORK_INTERFACE}
min-port = 49152
min-port = ${?NETWORK_MIN_PORT}
max-port = 65535
max-port = ${?NETWORK_MAX_PORT}
enable-secure = false
enable-secure = ${?NETWORK_ENABLE_HTTPS}
}
server {
host = ${project-manager.network.interface}
host = ${?SERVER_HOST}
port = 30535
port = ${?SERVER_PORT}
}
bootloader {
number-of-retries = 2
delay-between-retry = 2 second
}
supervision {
initial-delay = 5 seconds
heartbeat-interval = 15 seconds
heartbeat-timeout = 10 seconds
number-of-restarts = 5
delay-between-restarts = 2 second
}
storage {
projects-root = ${?PROJECTS_ROOT}
projects-directory = "enso-projects"
metadata {
project-metadata-directory = ".enso"
project-metadata-file-name = "project.json"
}
}
timeout {
io-timeout = 5 seconds
request-timeout = 10 seconds
boot-timeout = 40 seconds
shutdown-timeout = 20 seconds
delayed-shutdown-timeout = 3 seconds
socket-close-timeout = 15 seconds
retries = 5
}
tutorials {
github-organisation = "enso-packages"
}
}