addons: stable IPv4 addresses
give addons static IPv4 so one can reliably connect from outside via SSH tunnel
This commit is contained in:
@@ -1134,6 +1134,7 @@ async function startMysql(existingInfra) {
|
||||
--log-opt tag=mysql \
|
||||
--dns 172.18.0.1 \
|
||||
--dns-search=. \
|
||||
--ip ${constants.MYSQL_SERVICE_IPv4} \
|
||||
-e CLOUDRON_MYSQL_TOKEN=${cloudronToken} \
|
||||
-e CLOUDRON_MYSQL_ROOT_HOST=172.18.0.1 \
|
||||
-e CLOUDRON_MYSQL_ROOT_PASSWORD=${rootPassword} \
|
||||
@@ -1351,6 +1352,7 @@ async function startPostgresql(existingInfra) {
|
||||
--log-opt tag=postgresql \
|
||||
--dns 172.18.0.1 \
|
||||
--dns-search=. \
|
||||
--ip ${constants.POSTGRESQL_SERVICE_IPv4} \
|
||||
--shm-size=128M \
|
||||
-e CLOUDRON_POSTGRESQL_ROOT_PASSWORD="${rootPassword}" \
|
||||
-e CLOUDRON_POSTGRESQL_TOKEN="${cloudronToken}" \
|
||||
@@ -1494,6 +1496,7 @@ async function startMongodb(existingInfra) {
|
||||
--log-opt tag=mongodb \
|
||||
--dns 172.18.0.1 \
|
||||
--dns-search=. \
|
||||
--ip ${constants.MONGODB_SERVICE_IPv4} \
|
||||
-e CLOUDRON_MONGODB_ROOT_PASSWORD="${rootPassword}" \
|
||||
-e CLOUDRON_MONGODB_TOKEN="${cloudronToken}" \
|
||||
-v "${dataDir}/mongodb:/var/lib/mongodb" \
|
||||
|
||||
Reference in New Issue
Block a user