README + Dockerfile fixes, format config.py
This commit is contained in:
30
README.md
30
README.md
@@ -61,6 +61,36 @@ $ sudo docker compose up --build -d
|
||||
Set up nginx / a reverse proxy and point it to the web app.
|
||||
|
||||
|
||||
### Config Changes
|
||||
|
||||
If you change the `.env` file config, simply run:
|
||||
|
||||
```bash
|
||||
$ sudo docker compose down
|
||||
$ sudo docker compose up --build -d
|
||||
```
|
||||
|
||||
### Updating
|
||||
|
||||
To update the code:
|
||||
|
||||
```bash
|
||||
$ sudo docker compose down
|
||||
$ git pull --rebase
|
||||
$ sudo docker compose up --build -d
|
||||
```
|
||||
|
||||
### Telegram Bot
|
||||
|
||||
An optional Telegram bot can send you notifications when uploads complete. This is useful to see if random people are filling your disk up.
|
||||
|
||||
To create a bot, message @BotFather on Telegram. Come up with a name and username. Botfather will then send you an API key you can paste into the `.env` config directly.
|
||||
|
||||
Next you'll need to find your own Telegram user ID. You can message @userinfobot and it will reply with your ID. Be ware of impersonator bots (they have the name "userinfobot" but a different username).
|
||||
|
||||
Then message the bot you just created "/start" so that it's able to interact with you.
|
||||
|
||||
|
||||
### Chunked Uploads
|
||||
|
||||
- Chunked uploads are enabled by default. Uses setting `CHUNKED_UPLOADS_ENABLED=true`.
|
||||
|
||||
Reference in New Issue
Block a user