sftp: give it a static ip
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user