addons: stable IPv4 addresses
give addons static IPv4 so one can reliably connect from outside via SSH tunnel
This commit is contained in:
@@ -31,6 +31,17 @@ exports = module.exports = {
|
||||
DOCKER_PROXY_PORT: 3003,
|
||||
USER_DIRECTORY_LDAPS_PORT: 3004, // user directory LDAP with TLS rerouting in iptables, public port is 636
|
||||
|
||||
// docker IPs
|
||||
DOCKER_IPv4_SUBNET: '172.18.0.0/16',
|
||||
DOCKER_IPv4_RANGE: '172.18.0.0/20',
|
||||
DOCKER_IPv4_GATEWAY: '172.18.0.1',
|
||||
APPS_IPv4_START: '172.18.16.1',
|
||||
APPS_IPv4_END: '172.18.20.255',
|
||||
// these are hardcoded to allow connections from outside. this is not in "172.18.0.xx" since docker starts allocating from there
|
||||
MYSQL_SERVICE_IPv4: '172.18.30.1',
|
||||
POSTGRESQL_SERVICE_IPv4: '172.18.30.2',
|
||||
MONGODB_SERVICE_IPv4: '172.18.30.3',
|
||||
|
||||
NGINX_DEFAULT_CONFIG_FILE_NAME: 'default.conf',
|
||||
|
||||
DEFAULT_TOKEN_EXPIRATION_MSECS: 365 * 24 * 60 * 60 * 1000, // 1 year
|
||||
|
||||
Reference in New Issue
Block a user