remove 2222 default port binding to avoid port conflicts
This commit is contained in:
parent
e08838561d
commit
e7aef38d3b
@ -81,5 +81,5 @@ SECRET_DB_PASSWORD_VERSION=v1
|
|||||||
# FTP
|
# FTP
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp.yml"
|
||||||
#SECRET_FTP_PASS_VERSION=v1
|
#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"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp-2220.yml"
|
||||||
|
7
compose.ftp-2222.yml
Normal file
7
compose.ftp-2222.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
ftp:
|
||||||
|
ports:
|
||||||
|
- 2222:22
|
@ -6,8 +6,6 @@ services:
|
|||||||
image: atmoz/sftp
|
image: atmoz/sftp
|
||||||
secrets:
|
secrets:
|
||||||
- ftp_pass
|
- ftp_pass
|
||||||
ports:
|
|
||||||
- 2222:22
|
|
||||||
volumes:
|
volumes:
|
||||||
- "wordpress_content:/home/ftp_user/wp-content"
|
- "wordpress_content:/home/ftp_user/wp-content"
|
||||||
configs:
|
configs:
|
||||||
|
1
release/next
Normal file
1
release/next
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user