Allow to create a package and install a package compiled from GitHub

Also add nginx config for reverse proxying and set up Let's Encrypt
automatically
This commit is contained in:
Greg Karékinian
2017-05-05 19:47:30 +02:00
parent fcf3b0b0dc
commit 2624c09875
13 changed files with 274 additions and 20 deletions

View File

@@ -7,6 +7,9 @@
# All rights reserved - Do Not Redistribute
#
rpc_proxy_port = 8545
rpc_port = 18545
parity_node "dev" do
password "parityparity"
config parity: {
@@ -18,18 +21,33 @@ parity_node "dev" do
warp: true,
},
rpc: {
port: 8545,
port: rpc_port,
cors: "*",
apis: ["safe"],
hosts: ["all"],
},
dapps: {
port: 8090,
disable: true,
},
ui: {
port: 8180,
force: true,
disable: true,
},
websockets: {
disable: true,
},
mining: {
reseal_min_period: 0,
}
rpc_proxy_port rpc_proxy_port
end
# The firewall_rule doesn't appear to work inside a resource, that's why we're
# doing it here
unless node.chef_environment == "development"
include_recipe 'firewall'
firewall_rule "parity_dev" do
port rpc_proxy_port
protocol :tcp
command :allow
end
end