A netdisk solution for cloud servers.
This docker compose file is using these images:
SSL is enabled by default, one needs to set his own certs in ./conf/nginx/http.conf, and store in ssl
Since I am using Cloudflare to protect my server, its origin server certifacate is set. You can also use your own cert or use acme.sh
Clone this repo
git clone https://github.com/GaryH4/fileVault
cd fileVaultAnd generate dhparam.pem file for security
openssl dhparam -out ./ssl/dhparam.pem -5 2048Now copy the cert files to ./ssl/ directory
Then change settings in conf/nginx/http.conf
- site name
- SSL cert name
And in docker-compose.yml
- RPC_SECRET
At last,
docker-compose up -d
# to see log files
docker-compose logs -f --tail="200"
# use ctrl-c to quitOpen https://your.domain/ariang and set your aria2 RPC path to https://your.domain:443/aria2/jsonrpc