doc: clean readme typos
This commit is contained in:
parent
6fa72f5018
commit
73ecac192e
1 changed files with 4 additions and 5 deletions
|
|
@ -8,20 +8,19 @@ simple requirementless, authenticationless file upload server
|
||||||
- to expose a local folder called `./files`:
|
- to expose a local folder called `./files`:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --name sfu \
|
docker run --name sfu -d \
|
||||||
-d -p 80:80 \
|
|
||||||
-v $(pwd)/files:/opt/sfu/files \
|
-v $(pwd)/files:/opt/sfu/files \
|
||||||
-e SFU_FILES_DIR=/opt/sfu/files \
|
-e SFU_FILES_DIR=/opt/sfu/files \
|
||||||
-e SFU_PORT=80 \
|
-e SFU_PORT=80 \
|
||||||
-p 8000:80
|
-p 8000:80 \
|
||||||
1885504a9/sfu
|
185504a9/sfu
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- ... modify accordingly
|
- ... modify accordingly
|
||||||
## dev version
|
## dev version
|
||||||
|
|
||||||
### using docker
|
### docker
|
||||||
|
|
||||||
1. take a look at [docker-compose](docker-compose.yml) and modify the envvars accordingly. the default values **should work** as long as you're ok with a `files/` folder being created and **your user UID and GID are 1000**. if for some reason you need other ids, please add them like this:
|
1. take a look at [docker-compose](docker-compose.yml) and modify the envvars accordingly. the default values **should work** as long as you're ok with a `files/` folder being created and **your user UID and GID are 1000**. if for some reason you need other ids, please add them like this:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue