Add extended start script to release

This commit is contained in:
Maciej Szlosarczyk 2019-05-31 10:27:59 +03:00
parent 80fa8a6ff9
commit 1bb81e0118
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
2 changed files with 13 additions and 12 deletions

View file

@ -1,27 +1,27 @@
[
{epp_proxy, [
# Enables or disable TCP connections without TLS (true/false)
%% Enables or disable TCP connections without TLS (true/false)
{dev_mode, false},
# TCP port, only available if dev_mode is set to true.
%% TCP port, only available if dev_mode is set to true.
{tcp_port, 1700},
# TLS port, specified in RFC to 700, but can be set to anything else
# in case that is needed.
%% TLS port, specified in RFC to 700, but can be set to anything else
%% in case that is needed.
{tls_port, 700},
# URL of EPP endpoints. Can be pointed at a web server (Apache/NGINX)
# Can contain port (https://some-host:3000/epp/session)
# Honors the prepended protocol (http / https).
%% URL of EPP endpoints. Can be pointed at a web server (Apache/NGINX)
%% Can contain port (https://some-host:3000/epp/session)
%% Honors the prepended protocol (http / https).
{epp_session_url, "https://registry.test/epp/session/"},
{epp_command_url, "https://registry.test/epp/command/"},
{epp_error_url, "https://registry.test/epp/error/"},
# Path to root CA that should check the client certificates.
%% Path to root CA that should check the client certificates.
{cacertfile_path, "/opt/shared/ca/certs/ca.crt.pem"},
# Path to server's certficate file.
%% Path to server's certficate file.
{certfile_path, "/opt/shared/ca/certs/cert.pem"},
# Path to server's key file.
%% Path to server's key file.
{keyfile_path, "/opt/shared/ca/certs/key.pem"},
# Path to CRL file.
%% Path to CRL file.
{crlfile_path, "/opt/shared/ca/certs/key.pem"}]},
{lager, [
{handlers, [

View file

@ -15,7 +15,8 @@
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{include_erts, true}]
{include_erts, true},
{extended_start_script, true}]
}.
{profiles, [{prod, [{relx, [{dev_mode, false},