mirror of
https://github.com/fastogt/fastocloud.git
synced 2025-03-09 23:18:50 +00:00
Release 1.4.4
This commit is contained in:
commit
310132c21d
363 changed files with 32789 additions and 0 deletions
22
docker/docker-entrypoint.sh
Normal file
22
docker/docker-entrypoint.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
#set -e
|
||||
|
||||
regenerate_dbus_machine_id() {
|
||||
rm -f /var/lib/dbus/machine-id
|
||||
rm -f /etc/machine-id
|
||||
dbus-uuidgen --ensure
|
||||
}
|
||||
|
||||
CONTAINER_ALREADY_STARTED="CONTAINER_ALREADY_STARTED_PLACEHOLDER"
|
||||
if [ ! -e $CONTAINER_ALREADY_STARTED ]; then
|
||||
touch $CONTAINER_ALREADY_STARTED
|
||||
regenerate_dbus_machine_id
|
||||
else
|
||||
echo "machine-id already was regenerated"
|
||||
fi
|
||||
|
||||
if [ "${1#-}" != "$1" ]; then
|
||||
set -- fastocloud "$@"
|
||||
fi
|
||||
|
||||
exec "$@"
|
21
docker/fastocloud.conf
Normal file
21
docker/fastocloud.conf
Normal file
|
@ -0,0 +1,21 @@
|
|||
[settings]
|
||||
log_path=~/fastocloud.log
|
||||
log_level=INFO
|
||||
host=0.0.0.0:6317
|
||||
alias=0.0.0.0
|
||||
|
||||
hls_host=http://0.0.0.0:8000
|
||||
vods_host=http://0.0.0.0:7000
|
||||
cods_host=http://0.0.0.0:6000
|
||||
|
||||
hls_dir=~/streamer/hls
|
||||
vods_dir=~/streamer/vods
|
||||
cods_dir=~/streamer/cods
|
||||
timeshifts_dir=~/streamer/timeshifts
|
||||
feedback_dir=~/streamer/feedback
|
||||
proxy_dir=~/streamer/proxy
|
||||
data_dir=~/streamer/data
|
||||
|
||||
cods_ttl=600
|
||||
pyfastostream_path=/usr/local/bin/pyfastostream
|
||||
files_ttl=604800
|
Loading…
Add table
Add a link
Reference in a new issue