A simple docker container wich ftp(s), www, aria2 and ssh. It is a simple way to save your files.
- Git clone this resp (or just download
docker-compose.yml
):wget https://raw.githubusercontent.com/ertuil/wickftps/main/docker-compose.yml
- Install
docker
anddocker-compose
- Config
docker-compose.yml
- Run
docker-compose up -d
- Config your firewalls to allow these ports: 20, 21, 3000-3010, 22(optional), 8080(optional), 6800(optional).
Varibles | Default | Details |
---|---|---|
USER_USERNAME | admin | username |
USER_PASSWORD | password | password for the user |
PASV_ADDRESS | none | the public internet address |
PASV_MAX_PORT | 3010 | maxinum port for PASV mode |
PASV_MIN_PORT | 3000 | maninum port for PASV mode |
NGINX_ADDRESS | none | Nginx server_name |
FTP_SSL | "false" | enable FTP SSL Mode |
ENABLE_SSH | "false" | run ssh service |
ENABLE_ARIA2 | "false" | run aria2 service |
- Web root is
/app/data/Shared/www
. Index ishttps://<your_address>/
- Public sharable files can be placed in
/app/data/Shared/public
, it is visible publicly viahttps://<your_address>/public
- Privatefiles can be placed in
/app/data/Shared/private
, it is visible viahttps://<your_address>/private
. Butusername
andpassword
must be provided to access thses files. - Other files can be placed int
/app/data/Documents
,/app/data/Pictures
and so on. - FTP control port is at 21, and passive mode needs 3000-3010 ports to be opened.
- If ftps is enabled, use
Explicit FTPS Mode
. - If sshd is enabled, default port is 22.
Username
andPassword
are the same. - If aria2 is enabled, jsonrpc address is at
https://<your_address>/jsonrpc
and password isUSER_PASSWORD