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

@@ -880,9 +880,9 @@ function apply_db_migrations() {
}
function check_services() {
local services=("mysql" "postgresql" "mongodb" "mail" "graphite")
local service_ip=("172.18.30.1" "172.18.30.2" "172.18.30.3" "172.18.30.4" "172.18.30.5")
local service_port=("3000" "3000" "3000" "3000" "2003")
local services=("mysql" "postgresql" "mongodb" "mail" "graphite" "sftp")
local service_ip=("172.18.30.1" "172.18.30.2" "172.18.30.3" "172.18.30.4" "172.18.30.5" "172.18.30.6")
local service_port=("3000" "3000" "3000" "3000" "2003" "3000")
for service in "${!services[@]}"; do
# Check if container is running