This is a docker image to run YouPHPTube in LXC.
YouPHPTube! is an video-sharing website, It is an open source solution that is freely available to everyone. With YouPHPTube you can create your own video sharing site, YouPHPTube will help you import and encode videos from other sites like Youtube, Vimeo, etc. and you can share directly on your website. In addition, you can use Facebook or Google login to register users on your site. The service was created in march 2017. more detail...
Go get it here
You need MySQL server to store database for YouPHPTube. Run command like below:
docker run --name mysql -e MYSQL_ROOT_PASSWORD=your_db_passwd -d mysql/mysql
After that, you can run the YouPHPTube container and link to MySQL. Docker command like below:
docker run --name utube -e DOMAIN=the_server_url -e ADMIN_EMAIL=your_email -p 443:443 -d leejoneshane/youphptube
If you want to specify a language, use the parameters -e LANG=your_country before -d leejoneshane/youphptube.
When the contianer is running, you can setup your own SSL certificates OR genarate Let's Encrypt free SSL by shell script like below:
docker exec utube bash↵
utube#>gencerts.sh↵
Then, you should open browser conenect to https://the_server_url and setup your YouPHPTube Streamer Server. By the way, The YouPHPTube Encoder Server was installed in https://the_server_url/encoder, don't forget to setup the configurations too.
Please use the following instructions to get mysql server's ip:
docker exec mysql ip addr↵