Fix docker-compose.yml to ensure FTP service runs properly
This commit is contained in:
parent
9c7ca7209f
commit
e775d8de81
@ -20,18 +20,21 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: python -m factsdb.main api
|
command: python -m factsdb.main api
|
||||||
|
|
||||||
# Optional: Add a separate service for FTP if needed
|
# Separate FTP service for when you need direct FTP access
|
||||||
# ftp:
|
ftp:
|
||||||
# build: .
|
build: .
|
||||||
# ports:
|
ports:
|
||||||
# - "2121:2121"
|
- "2121:2121"
|
||||||
# volumes:
|
volumes:
|
||||||
# - ./facts.db:/app/facts.db
|
- ./facts.db:/app/facts.db
|
||||||
# - ./data:/app/data
|
- ./data:/app/data
|
||||||
# environment:
|
environment:
|
||||||
# - FTP_HOST=0.0.0.0
|
- FTP_HOST=0.0.0.0
|
||||||
# - FTP_PORT=2121
|
- FTP_PORT=2121
|
||||||
# - FTP_USERNAME=factsdb
|
- FTP_USERNAME=factsdb
|
||||||
# - FTP_PASSWORD=factsdb
|
- FTP_PASSWORD=factsdb
|
||||||
# restart: unless-stopped
|
- AI_ENDPOINT_URL=http://example.com:4000/v1/chat/completions
|
||||||
# command: python -m factsdb.main ftp
|
- AI_ENDPOINT_TOKEN=111
|
||||||
|
- DATABASE_PATH=/app/facts.db
|
||||||
|
restart: unless-stopped
|
||||||
|
command: python -m factsdb.main ftp
|
||||||
Loading…
x
Reference in New Issue
Block a user