remove 2222 default port binding to avoid port conflicts

This commit is contained in:
Moritz 2024-12-17 15:28:47 +01:00
parent e08838561d
commit e7aef38d3b
4 changed files with 9 additions and 3 deletions

View File

@ -81,5 +81,5 @@ SECRET_DB_PASSWORD_VERSION=v1
# FTP
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp.yml"
#SECRET_FTP_PASS_VERSION=v1
# Select a port other than 2222 (2220-2225)
# You can use a Port between 2220-2225
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp-2220.yml"

7
compose.ftp-2222.yml Normal file
View File

@ -0,0 +1,7 @@
---
version: "3.8"
services:
ftp:
ports:
- 2222:22

View File

@ -6,8 +6,6 @@ services:
image: atmoz/sftp
secrets:
- ftp_pass
ports:
- 2222:22
volumes:
- "wordpress_content:/home/ftp_user/wp-content"
configs:

1
release/next Normal file
View File

@ -0,0 +1 @@
Breaking change for ftp container: you need to uncomment COMPOSE_FILE="$COMPOSE_FILE:compose.ftp-2222.yml" to open port 2222 again. You can also select between port 2220-2225.