Update readme.md

This commit is contained in:
Axel 2023-06-24 12:08:43 +02:00 committed by GitHub
parent 1e03df19b5
commit d469ed5c01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,10 +83,9 @@ docker run -d \
-v <local_path>:/app/storage/content \ -v <local_path>:/app/storage/content \
--name filesharing \ --name filesharing \
-e UPLOAD_MAX_FILESIZE="1G" \ -e UPLOAD_MAX_FILESIZE="1G" \
axeloz/filesharing:<version> axeloz/filesharing:latest
``` ```
- use the `-v` option to bind your local storage to the docker instance (persisting data) - use the `-v` option to bind your local storage to the docker instance (persisting data)
- replace `<version>` with latest FileSharing version
- adapt the `-p` option to listen to the port you need - adapt the `-p` option to listen to the port you need
- you may pass env variables with the `-e` option - you may pass env variables with the `-e` option
- you can use a reverse proxy for SSL termination (example: nginx) - you can use a reverse proxy for SSL termination (example: nginx)
@ -97,7 +96,7 @@ You can also use in docker compose with the following template:
version: '3' version: '3'
services: services:
app: app:
image: axeloz/filesharing:2.10 image: axeloz/filesharing:latest
environment: environment:
UPLOAD_MAX_FILESIZE: "1G" UPLOAD_MAX_FILESIZE: "1G"
UPLOAD_MAX_FILES: "100" UPLOAD_MAX_FILES: "100"