sftp: give it a static ip

This commit is contained in:
Girish Ramakrishnan
2025-12-04 09:09:19 +01:00
parent 162e51a0af
commit 64cb848a37
4 changed files with 7 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ const apps = require('./apps.js'),
assert = require('node:assert'),
blobs = require('./blobs.js'),
BoxError = require('./boxerror.js'),
constants = require('./constants.js'),
debug = require('debug')('box:sftp'),
docker = require('./docker.js'),
hat = require('./hat.js'),
@@ -105,6 +106,7 @@ async function start(existingInfra) {
--hostname sftp \
--net cloudron \
--net-alias sftp \
--ip ${constants.SFTP_SERVICE_IPv4} \
--log-driver syslog \
--log-opt syslog-address=unix://${paths.SYSLOG_SOCKET_FILE} \
--log-opt syslog-format=rfc5424 \