Coder Social home page Coder Social logo

docker-mediadrop-alt's Introduction

MediaDrop is a open source online video platform for managing and delivering video, audio and podcasts.

Usage

Here are some example snippets to help you get started creating a container.

docker

docker create \
  --name=mediadrop \
  -e DB_HOST=<mysql host> \
  -e DB_NAME=<mysql database name> \
  -e DB_USER=<mysql database user> \
  -e DB_PASSWORD=<mysql database password> \      
  -p 8080:8080 \
  --link <mysql container>
  -v path/to/data:/data \
  --restart unless-stopped \
  skaro13/mediadrop

docker-compose

Compatible with docker-compose v2 schemas.

version: '2'
services:
  mediadrop:
    container_name: mediadrop
    image: skaro13/mediadrop
    environment:
      - DB_HOST=mysql
      - DB_NAME=mediadrop
      - DB_USER=mediadrop
      - DB_PASSWORD=changeit
    volumes:
      - ./data:/data
    ports:
      - "8080:8080"
    depends_on:
      - db
    restart: always
  db:
    container_name: mysql
    image: mysql:5.7
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=changeit
      - MYSQL_DATABASE=mediadrop
      - MYSQL_USER=mediadrop
      - MYSQL_PASSWORD=changeit
    volumes:
      - ./db/:/var/lib/mysql

Parameters

Parameter Function
-e DB_HOST Host on which mysql is running
-e DB_NAME Database to use on the mysql instance
-e DB_USER Mediadrop database user
-e DB_PASSWORD Mediadrop database password
-v /data Mediadrop data folder. This is where config and uploaded media will be stored

Application Setup

Webui can be found at your-ip:8080

** Note: Mediadrop is only compatible with mysql v5.7 **

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/skaro13/docker-mediadrop.git
cd mediadrop-dockerfile
docker build \
  --no-cache \
  --pull \
  -t skaro13/mediadrop:latest .

docker-mediadrop-alt's People

Contributors

acaranta avatar

Watchers

 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.