Reorder readme
This commit is contained in:
parent
66cc078c88
commit
93b8083285
14
README.md
14
README.md
@ -56,13 +56,6 @@ For php functionality, install `php-fpm` (on deb-based systems:
|
|||||||
```
|
```
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
### Docker
|
|
||||||
After cloning this repo and `cd streamupload`, a docker image can be built
|
|
||||||
from the included `Dockerfile` by: `docker build -t streamupload .`.
|
|
||||||
In the case of running on a LAN and not having a DNS A record, start it with:
|
|
||||||
`docker run -d -p 8080:80 -v $PWD/uploadpage:/var/www/uploadpage streamupload`.
|
|
||||||
In case of a domainname, replace `8080:80` by `443:443`.
|
|
||||||
|
|
||||||
# Make sure internet is reachable
|
# Make sure internet is reachable
|
||||||
while ! /usr/bin/ping -q -c 1 1.1.1.1 &>/dev/null
|
while ! /usr/bin/ping -q -c 1 1.1.1.1 &>/dev/null
|
||||||
do sleep 1
|
do sleep 1
|
||||||
@ -76,6 +69,13 @@ sleep 1
|
|||||||
```
|
```
|
||||||
and make it executable: `chmod +x /root/Caddy`.
|
and make it executable: `chmod +x /root/Caddy`.
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
After cloning this repo and `cd streamupload`, a docker image can be built
|
||||||
|
from the included `Dockerfile` by: `docker build -t streamupload .`.
|
||||||
|
In the case of running on a LAN and not having a DNS A record, start it with:
|
||||||
|
`docker run -d -p 8080:80 -v $PWD/uploadpage:/var/www/uploadpage streamupload`.
|
||||||
|
In case of a domainname, replace `8080:80` by `443:443`.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
* Get a streamkey for the target by scheduling a stream
|
* Get a streamkey for the target by scheduling a stream
|
||||||
(supported are: Restream.io, YouTube.com, Facebook.com).
|
(supported are: Restream.io, YouTube.com, Facebook.com).
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user