Giter Site home page Giter Site logo

docker-youphptube's Introduction

docker-youphptube

This is a docker image to run AVideo v9.7 in LXC.

Minimum PHP Version GitHub release

Audio Video Platform

AVideo is a term that means absolutely nothing, or anything video. Since it doesn't mean anything the brand simply is identifiable with audio video. AVideo Platform is an Audio and Video Platform or simply "A Video Platform".

  • AVideo - Audio Video
  • AVideo Platform - Audio Video Platform
  • OAVP - Online Audio Video Platform
  • OVP - Online Video Platform

AVideo Platform is distributed as SaaS at AVideo.com, as an Enterprise Version, and as an Open-Source Project.

How to use

The simple way, you edit docker-compose.yml then run the command below:

docker-compose up -d

This way will create all service containers, include: mysql, phpmyadmin and youphptube.

Or you can run then on your own, 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

Please use the following instructions to get mysql server's ip:

docker exec mysql ip addr↵

After that, you can run the YouPHPTube container and link to MySQL. Docker command like below:

docker run --name utube
-e SITE_TITLE="The name of your site"
-e DOMAIN=FQDN.your_site.com
-e DOMAIN_PROTOCOL=https
-e ADMIN_PASSWORD=your_password
-e [email protected]
-e DB_HOST=mysql_server
-e DB_USER=root
-e DB_PASSWORD=your_db_passwd
-e LANG=en
-p 80:80
-p 443:443
-d leejoneshane/youphptube

You may want to change the default language, use the parameters -e LANG=your_country.

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↵

After that don't forget to change the environment variable DOMAIN_PROTOCOL to https, and restart your container.

If you want configure by yourself, please delete the file: /var/www/localhost/htdocs/videos/configurations.php, then browse the install web page: https://FQDN.your_site.com/install

If you want to run YouPHPTube-Encoder with YouPHPTube, you should pull the YouPHPTube-Encoder docker image like below:

docker run --name encoder
-e DOMAIN=FQDN.your_site.com
-e DOMAIN_PROTOCOL=https
-e [email protected]
-e DB_HOST=mysql_server
-e DB_USER=root
-e DB_PASSWORD=your_db_passwd
-e LANG=en
-p 8000:80
-p 8443:443
-d leejoneshane/youphptube-encoder

docker-youphptube's People

Contributors

leejoneshane avatar pmajkutewicz avatar teeeeemo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.