Merge pull request #44 from crazynds/feat/docker-compose

This commit is contained in:
Axel 2023-06-23 20:18:29 +02:00 committed by GitHub
commit c5b5048e5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,31 @@ axeloz/filesharing:<version>
- you may pass env variables with the `-e` option
- you can use a reverse proxy for SSL termination (example: nginx)
You can also use in docker compose with the following template:
```yaml
version: '3'
services:
app:
image: axeloz/filesharing:2.10
environment:
UPLOAD_MAX_FILESIZE: "1G"
UPLOAD_MAX_FILES: "100"
UPLOAD_LIMIT_IPS: "127.0.0.1"
UPLOAD_PREVENT_DUPLICATES: true
HASH_MAX_FILESIZE: "1G"
LIMIT_DOWNLOAD_RATE: "1M"
volumes:
- files_v:/app/storage/content
ports:
- 8080:80
volumes:
files_v:
driver: local
```
### Standalone
- configure your domain name. For example: files.yourdomain.com