**WIP** docker build configuration files to run the Treebird FCGI from a container
Find a file
2022-05-21 20:25:18 -04:00
mastodont-c@f16c12e04f Add build setup script and make mastodont-c a submodule as well so it can be cloned outside the container 2022-05-20 23:46:54 -04:00
treebird@7b41f083f1 Add the actual treebird git as a submodule 2022-05-20 22:26:11 -04:00
.gitmodules Add build setup script and make mastodont-c a submodule as well so it can be cloned outside the container 2022-05-20 23:46:54 -04:00
build_container.sh Update docker build packages and add build script 2022-05-21 15:47:21 -04:00
configure_build.sh Add cmd to docker to run fcgiwrap (for now, spwan-fcgi later) 2022-05-21 16:09:23 -04:00
Dockerfile Add cmd to docker to run fcgiwrap (for now, spwan-fcgi later) 2022-05-21 16:09:23 -04:00
README.md Add wip readme to repo 2022-05-21 20:25:18 -04:00

Containerized Treebird FE Build

This git repo contains the files needed to builder a docker containerized setup of nekobit's C FCGI based Treebird Front End for Pleroma or other Mastodon compatibles.

How to build the container image

The build is divided into two parts to allow you to make custom configuration changes. Run the following to prepare the container build configuration.

./configure_build.sh instance_domain treebird_domain [treebird_fcgi_port (optional)]

options:

  • instance_domain: domain of the instance for Treebird FE to connect to (ex: sleepy.cafe)
  • treebird_domain: domain you plan serve Treebird on (ex: treebird.mysite.com)
  • treebird_fcgi_port: internal FCGI port for your http server to communicate with Treebird DO NOT set this unless you have a port conflict (default: 4008)

The script will generate a folder named configs/ containing configuration files you can edit further as needed before starting the build. Once ready, run the following:

./build_container.sh [image_name (optional)] [container_name (optional)]

NOTE: Unless your user is a member of the docker group, you will need root for this!

The build should complete without errors and if you run docker image ls you should see treebird:latest (or whatever alt image tag you set in the previous command).