Fixing for docker

This commit is contained in:
stephb9959
2021-01-25 11:28:11 -08:00
parent 2e6a49fd05
commit b75716b307
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
## Name of the node
## Cookie for distributed erlang
-setcookie $$COOKIE$$
-s owls_app
-boot start_clean
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
## (Disabled by default..use with caution!)
-heart
## Enable kernel poll and a few async threads
+K true
+A 5
## Increase number of concurrent ports/sockets
-env ERL_MAX_PORTS 4096
## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10
# +B [c | d | i]
# Option c makes Ctrl-C interrupt the current shell instead of invoking the emulator break
# handler. Option d (same as specifying +B without an extra option) disables the break handler. # Option i makes the emulator ignore any break signal.
# If option c is used with oldshell on Unix, Ctrl-C will restart the shell process rather than
# interrupt it.
# Disable the emulator break handler
# it easy to accidentally type ctrl-c when trying
# to reach for ctrl-d. ctrl-c on a live node can
# have very undesirable results
##+Bi

View File

@@ -0,0 +1,20 @@
[ {
owls ,
[
{ role , pseudo }
]}
,
{lager,
[
{log_root, "/app_data/logs"},
{colored,true},
{handlers,
[
{lager_console_backend, [{level,error}]},
{lager_file_backend, [{file, "error.log"}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}]},
{lager_file_backend, [{file, "info.log"}, {level, info}, {size, 10485760}, {date, "$D0"}, {count, 5}]},
{lager_file_backend, [{file, "warning.log"}, {level, warning}, {size, 10485760}, {date, "$D0"}, {count, 5}]}
]}
] }
].