Docker container for Cumulus Clips web application
"Free Video CMS: Start your own video sharing website with CumulusClips video sharing script. It's free and easy to use. You can build a YouTube clone where users can upload videos, rate videos, comment on videos, and much more."
To install docker in Ubuntu 16.04 use the commands:
$ sudo apt-get update
$ wget -qO- https://get.docker.com/ | sh
To install docker in other operating systems check docker online documentation
$ docker run --name cumulusclips-mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -e MYSQL_DATABASE=cumulusclipsdb \
-e MYSQL_USER=cumulusclipsuser -e MYSQL_PASSWORD=cumulusclipsdbpasswd -d mysql
in case you want to used pre-existing mysql container , you can add the new database by connecting to it with docker exec -it some-mysql bash and manual adding cumulus clips database or you can link and used quantumobject/docker-mywebsql to create database cumulusclipsdb and user cumulusclipsuser plus need to grant all permision of this user to the cumulus clips database.
Them link to Cumulus Clips container
$ docker run -d -p 80 --link cumulusclips-mysql:db quantumobject/docker-cumulusclips
where when been ask for database need to replace localhost for db.
After that check with your browser at addresses plus the port assigined by docker or you:
- http://host_ip:port/
This will create initial configuration where:
-
database : cumulusclipsdb
-
database user : cumulusclipsuser
-
database password : cumulusclipsdbpasswd
To access the container from the server that the container is running :
$ docker exec -it container_id /bin/bash
note: deploy this container behind proxy with SSL for extra security:
https://github.com/jwilder/nginx-proxy
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
About Cumulus Clips: cumulusclips.org
To help improve this container docker-cumulusclips
For additional info about us and our projects check our site www.quantumobject.org