Skip to content

ABeltramo/cloudtube-docker

Repository files navigation

Cloudtube docker

Docker hub - abeltramo/cloudtube Docker Image Size (latest by date)

Docker hub - abeltramo/newleaf Docker Image Size (latest by date)

Github actions to build Cloudtube and NewLeaf Docker containers.

A precompiled Docker image is available for both projects, this is a multi-arch image and will run on amd64, aarch64, and armhf devices, including the Raspberry Pi.

Quickstart

docker run -d \
  -p 10412:10412 \
  --name cloudtube \
  -v ~/cloudtube/db/:/workdir/db \
  -v ~/cloudtube/config.js/:/workdir/config/config.js \
  abeltramo/cloudtube:latest
docker run -d \
  -p 3000:3000 \
  --name newleaf \
  -v ~/cloudtube/configuration.py:/workdir/configuration.py \
  abeltramo/newleaf:latest

How to use

See the examples folder for more, including a docker-compose example.

Building locally

The two Dockerfiles are meant to be run inside the respective git repositories. You'll have to:

  • clone locally the repo
  • copy the Dockerfile inside
  • run docker build

Example:

git clone https://git.sr.ht/~cadence/cloudtube

cp cloudtube.Dockerfile cloudtube/Dockerfile
cp .dockerignore cloudtube/.dockerignore

docker build -t cloudtube cloudtube/.