added ftp support
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
container_name: sfs
|
||||
container_name: sfs.api
|
||||
command: uv run uvicorn app.api:app --host 0.0.0.0 --port 8000
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- ./files:/app/files
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
ftp:
|
||||
image: delfer/alpine-ftp-server
|
||||
container_name: sfs.ftp
|
||||
ports: []
|
||||
environment:
|
||||
USERS: "sfs|MySecurePass123!|/home/sfs"
|
||||
ADDRESS: "ftp"
|
||||
volumes:
|
||||
- /opt/sfs/files:/home/sfs
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user