Tube

Youtube-like (without censorship and features you don’t need!) Video Sharing App written in Go which also supports automatic transcoding to MP4 H.265 AAC, multiple collections and RSS feed.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: "3.8"
 
services:
  tube:
    image: prologic/tube
    command: -c /config.json
    configs:
      - source: config_json
        target: /config.json
    networks:
      - traefik
    volumes:
      - tube:/data
    deploy:
      labels:
        - "traefik.enable=true"
        - "traefik.port=8000"
        - "traefik.backend=tube"
        - "traefik.docker.network=traefik"
        - "traefik.frontend.rule=Host:tube.mydomain.tld"
      restart_policy:
        condition: on-failure
      replicas: 1
 
configs:
  config_json:
    file: ./config.json
 
networks:
  traefik:
    external: true
 
volumes:
  tube:
    driver: local

Resources

Git Repository: https://git.mills.io/prologic/tube

Docker Hub: https://hub.docker.com/r/prologic/tube

Configuration: https://git.mills.io/prologic/tube#getting-started