ipcam: FTPS-приёмник (vsftpd) на fr1, PASV_ADDRESS=fr1, без переноса видео
This commit is contained in:
38
stacks/ipcam/docker-compose.yml
Normal file
38
stacks/ipcam/docker-compose.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
name: ipcam
|
||||
|
||||
services:
|
||||
ipcam-ftps:
|
||||
image: fauria/vsftpd
|
||||
container_name: ipcam-ftps
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
FTP_USER: cam
|
||||
FTP_PASS: ${FTP_PASS}
|
||||
PASV_ENABLE: "YES"
|
||||
PASV_ADDRESS: "161.97.93.252"
|
||||
PASV_ADDR_RESOLVE: "NO"
|
||||
PASV_MIN_PORT: "30000"
|
||||
PASV_MAX_PORT: "30010"
|
||||
PASV_PROMISCUOUS: "NO"
|
||||
PORT_PROMISCUOUS: "NO"
|
||||
TLS_ENABLE: "YES"
|
||||
TLS_FORCE_LOCAL_LOGINS_SSL: "YES"
|
||||
TLS_FORCE_LOCAL_DATA_SSL: "YES"
|
||||
TLS_CERT_FILE: /etc/ssl/private/vsftpd.crt
|
||||
TLS_KEY_FILE: /etc/ssl/private/vsftpd.key
|
||||
LOG_STDOUT: "YES"
|
||||
XFERLOG_STD_FORMAT: "NO"
|
||||
FILE_OPEN_MODE: "0666"
|
||||
LOCAL_UMASK: "077"
|
||||
REVERSE_LOOKUP_ENABLE: "YES"
|
||||
ports:
|
||||
- "2221:21"
|
||||
- "30000-30010:30000-30010"
|
||||
volumes:
|
||||
- /srv/ftps/certs/vsftpd.crt:/etc/ssl/private/vsftpd.crt:ro
|
||||
- /srv/ftps/certs/vsftpd.key:/etc/ssl/private/vsftpd.key:ro
|
||||
- /srv/ipcam/videos:/home/vsftpd
|
||||
- ipcam_logs:/var/log/vsftpd
|
||||
|
||||
volumes:
|
||||
ipcam_logs:
|
||||
Reference in New Issue
Block a user