**WIP** docker build configuration files to run the Treebird FCGI from a container
Find a file
2022-07-16 11:34:02 -04:00
files Reworked container build to allow setting instance url at runtime 2022-06-28 23:02:34 -04:00
forgetthis redoing this too 2022-06-28 20:05:40 -04:00
mastodont-c@879cd9db22 update these 2022-06-28 20:16:37 -04:00
nginx-test Get production docker image building and tested with local nginx build. all working 2022-07-01 21:30:38 -04:00
treebird@c3e8af299f update these 2022-06-28 20:16:37 -04:00
.drone.yml does it need to be a real tag though? 2022-07-16 11:34:02 -04:00
.gitmodules Set branches to fix submodules 2022-05-28 19:10:08 -04:00
build_container.sh Get production docker image building and tested with local nginx build. all working 2022-07-01 21:30:38 -04:00
Dockerfile Get production docker image building and tested with local nginx build. all working 2022-07-01 21:30:38 -04:00
Dockerfile.build clean this up a bit 2022-07-01 20:34:16 -04:00
README.md Add new updated readme 2022-07-01 22:40:17 -04:00
run_container.sh Get production docker image building and tested with local nginx build. all working 2022-07-01 21:30:38 -04:00

Containerized Treebird FE Build

This git repo contains files needed to build a docker container for Nekobit's Treebird C-FCGI based front end for Pleroma.

Requirements - Build

  • docker (or docker.io on older distros)
  • bash
  • git

Requirements - Run

  • docker (or docker.io on older distros)
  • nginx (or another FCGI capable web server)

Building

Building the container should be as simple as running build_container.sh and waiting for the build to complete.

./build_container.sh [tag (optional, defaults to latest)]

Running

The run_container.sh script will start the Treebird FCGI container on port 4008 ready to receive requests from nginx or whatever FCGI capable http server you have.

# NOTE: The instance url MUST contain the trailing /
./run_container.sh [instance, e.g. "https://sleepy.cafe/"] [tag (optional, latest)]

Running - Local Nginx

For local use and testing an nginx Dockerfile is provided in the nginx-test folder. To use it, after building the Treebird container, do the following.

cd nginx-test
./build_container.sh [tag (optional, defaults to latest)]

Then to run it just run run_container.sh. This will not launch with the -d option so it will close when you close the terminal (since this is only for testing).

./run_container.sh [tag (optional, defaults to latest)]

From here, you can open your preferred web browser to http://localhost/ and Treebird should appear.

Installing

TODO (will add steps after I install it on my own domain).