Sign inSign up

haliphax/flaskbb

By haliphax

•Updated over 8 years ago

Containerized FlaskBB and redis

Image
0

612

haliphax/flaskbb repository overview

⁠flaskbb-dockerfile

Containerized installation of FlaskBB. Includes gunicorn, flaskbb-plugin-proxyfix⁠, flaskbb-plugin-private-memberlist⁠, and an exported volume for adding custom themes. Can be used in a docker-compose application along with a redis:alpine⁠ image (or other redis image).

For an example configuration, see the haliphax/flaskbb-docker-compose-example⁠ project.

⁠Ports

  • 5000 - This is the port the gunicorn HTTP server listens on

⁠Volumes

  • /app/config - Should contain your flaskbb.cfg file
  • /app/data - Should contain your flaskbb.sqlite file
  • /app/flaskbb/flaskbb/themes - (Optional) Use this to override the FlaskBB themes directory
  • /app/flaskbb/flaskbb/static/emoji - (Optional) Downloaded emojis

⁠Download emojis

To download emojis to use in your FlaskBB instance, you need to run the flaskbb download-emojis command from a container with the emoji volume mounted to your host system. FlaskBB must be restarted after the emojis have been downloaded.

⁠With a running container
docker exec -ti <container name> /bin/ash -c "flaskbb --config config/flaskbb.cfg download-emojis"
⁠With a fresh container
docker run -ti --rm \
	-v $(pwd)/data:/app/data -v $(pwd)/config:/app/config \
	-v $(pwd)/emoji:/app/flaskbb/flaskbb/static/emoji \
	haliphax/flaskbb:latest \
	/bin/ash -c "flaskbb --config config/flaskbb.cfg download-emojis"

Tag summary

Content type

Image

Digest

Size

91.3 MB

Last updated

over 8 years ago

docker pull haliphax/flaskbb