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.
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
See the examples folder for more, including a docker-compose example.
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/.