Add FTP_PASV_IP env var; expand PASV port range.
This commit is contained in:
parent
32f7d547e7
commit
ea76e0cc6c
4 changed files with 7 additions and 2 deletions
2
.env
2
.env
|
@ -4,4 +4,4 @@ AZURACAST_HTTP_PORT=80
|
|||
AZURACAST_HTTPS_PORT=443
|
||||
|
||||
AZURACAST_FTP_PORT=21
|
||||
AZURACAST_FTP_PASV_RANGE=30000-30009
|
||||
AZURACAST_FTP_PASV_RANGE=30000-30049
|
||||
|
|
|
@ -67,6 +67,10 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|||
# Advanced Configuration
|
||||
#
|
||||
|
||||
# Override the IP/hostname to use when negotiating inbound FTP Passive Mode (PASV) connections.
|
||||
# The system will attempt to automatically detect this, so you often don't need to change it.
|
||||
# FTP_PASV_IP=localhost
|
||||
|
||||
# PHP's maximum POST body size and max upload filesize.
|
||||
# PHP_MAX_FILE_SIZE=25M
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ services:
|
|||
AZURACAST_FTP_PORT: ${AZURACAST_FTP_PORT:-21}
|
||||
ports:
|
||||
- '${AZURACAST_FTP_PORT:-21}:21'
|
||||
- '${AZURACAST_FTP_PASV_RANGE:-30000-30049}:30000-30049' # FTP PASV support
|
||||
volumes:
|
||||
- .:/var/azuracast/www
|
||||
- tmp_data:/var/azuracast/www_tmp
|
||||
|
|
|
@ -21,7 +21,7 @@ services:
|
|||
- '${AZURACAST_HTTP_PORT:-80}:80'
|
||||
- '${AZURACAST_HTTPS_PORT:-443}:443'
|
||||
- '${AZURACAST_FTP_PORT:-21}:21'
|
||||
- '30000-30009:30000-30009' # FTP PASV support
|
||||
- '${AZURACAST_FTP_PASV_RANGE:-30000-30049}:30000-30049' # FTP PASV support
|
||||
depends_on:
|
||||
- mariadb
|
||||
- influxdb
|
||||
|
|
Loading…
Reference in a new issue