mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-27 01:25:49 +01:00
Exposing gatekeeper port to the outside of docker is now optional
This commit is contained in:
@@ -258,6 +258,12 @@ module.exports = {
|
||||
validate: utils.pathValidator,
|
||||
message: prefix()+'Where is your otsclient data?'+utils.getHelp('otsclient_datapath_custom'),
|
||||
},
|
||||
{
|
||||
type: 'confirm',
|
||||
name: 'gatekeeper_expose',
|
||||
default: utils.getDefault( 'gatekeeper_expose' ),
|
||||
message: prefix()+'Expose gatekeeper outside of the docker network?'+utils.getHelp('gatekeeper_expose'),
|
||||
},
|
||||
{
|
||||
when: function(props) { return installerDocker(props) && props.bitcoin_mode === 'internal' },
|
||||
type: 'confirm',
|
||||
|
||||
@@ -6,8 +6,10 @@ services:
|
||||
environment:
|
||||
- "TRACING=1"
|
||||
image: cyphernode/gatekeeper:<%= gatekeeper_version %>
|
||||
<% if( gatekeeper_expose ) { %>
|
||||
ports:
|
||||
- "<%= gatekeeper_port %>:443"
|
||||
<% } %>
|
||||
volumes:
|
||||
- "<%= gatekeeper_datapath %>/certs:/etc/ssl/certs"
|
||||
- "<%= gatekeeper_datapath %>/private:/etc/ssl/private"
|
||||
|
||||
Reference in New Issue
Block a user