aggiunti server sftp
This commit is contained in:
@@ -58,6 +58,7 @@ services:
|
||||
environment:
|
||||
DB_HOST: ${VIP:-192.168.1.210}
|
||||
FTP_INSTANCE_ID: 2
|
||||
FTP_MODE: ftp
|
||||
TZ: Europe/Rome
|
||||
FTP_PASSIVE_PORT: "40000"
|
||||
FTP_EXTERNAL_IP: ${VIP:-192.168.1.210}
|
||||
@@ -74,6 +75,27 @@ services:
|
||||
- "21"
|
||||
labels:
|
||||
logging: "promtail"
|
||||
sftp-server-2:
|
||||
build: .
|
||||
container_name: sftp-server-2
|
||||
restart: unless-stopped
|
||||
command: ["python", "-m", "src.ftp_csv_receiver"]
|
||||
environment:
|
||||
DB_HOST: ${VIP:-192.168.1.210}
|
||||
FTP_INSTANCE_ID: 12
|
||||
FTP_MODE: sftp
|
||||
TZ: Europe/Rome
|
||||
volumes:
|
||||
- app-logs:/app/logs
|
||||
- ./aseftp:/app/aseftp
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
networks:
|
||||
- app-network
|
||||
expose:
|
||||
- "22"
|
||||
labels:
|
||||
logging: "promtail"
|
||||
|
||||
haproxy:
|
||||
image: haproxy:2.8-alpine
|
||||
@@ -85,6 +107,7 @@ services:
|
||||
- app-network
|
||||
ports:
|
||||
- "21:21"
|
||||
- "22:22"
|
||||
- "8404:8404"
|
||||
labels:
|
||||
logging: "promtail"
|
||||
|
||||
Reference in New Issue
Block a user