fix ftp
This commit is contained in:
@@ -89,37 +89,18 @@ 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-1b:
|
||||
build: .
|
||||
container_name: ftp-server-1b
|
||||
restart: unless-stopped
|
||||
command: ["python", "-m", "src.ftp_csv_receiver"]
|
||||
environment:
|
||||
DB_HOST: ${VIP:-192.168.1.210}
|
||||
FTP_INSTANCE_ID: 7
|
||||
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
|
||||
@@ -130,8 +111,6 @@ services:
|
||||
- app-network
|
||||
ports:
|
||||
- "21:21"
|
||||
- "3306:3306"
|
||||
- "40000-40499:40000-40499"
|
||||
- "8404:8404"
|
||||
labels:
|
||||
logging: "promtail"
|
||||
|
||||
Reference in New Issue
Block a user