mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 10:03:55 +02:00
Update readme.md
This commit is contained in:
parent
1e03df19b5
commit
d469ed5c01
1 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue