This commit is contained in:
2025-11-02 11:14:40 +01:00
parent 6cfccbefd2
commit 8f5c0a5016
13 changed files with 84 additions and 118 deletions

View File

@@ -63,40 +63,21 @@ services:
FTP_EXTERNAL_IP: ${VIP:-192.168.1.210}
volumes:
- app-logs:/app/logs
- ./aseftp:/app/aseftp
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
networks:
- app-network
ports:
- "40000-40499:40000-40499"
expose:
- "21"
- "40000-40249"
labels:
logging: "promtail"
ftp-server-2b:
build: .
container_name: ftp-server-2b
restart: unless-stopped
command: ["python", "-m", "src.ftp_csv_receiver"]
environment:
DB_HOST: ${VIP:-192.168.1.210}
FTP_INSTANCE_ID: 8
TZ: Europe/Rome
FTP_PASSIVE_PORT: "40250"
FTP_EXTERNAL_IP: ${VIP:-192.168.1.210}
volumes:
- app-logs:/app/logs
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
networks:
- app-network
expose:
- "21"
- "40250-40499"
labels:
logging: "promtail"
haproxy:
image: haproxy:2.8-alpine
container_name: haproxy-backup
container_name: haproxy
restart: unless-stopped
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
@@ -104,8 +85,6 @@ services:
- app-network
ports:
- "21:21"
- "3306:3306"
- "40000-40499:40000-40499"
- "8404:8404"
labels:
logging: "promtail"