/docker-inboxen

🐳 Inboxen Docker image based on Alpine Linux

Primary LanguageDockerfileMIT LicenseMIT

Latest Version Build Status Docker Stars Docker Pulls Docker Repository on Quay Code Quality
Become a sponsor Donate Paypal

⚠️ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

About

🐳 Inboxen Docker image based on Alpine Linux.
If you are interested, check out my other 🐳 Docker images!

💡 Want to be notified of new releases? Check out 🔔 Diun (Docker Image Update Notifier) project!

Features

  • Inboxen WSGI daemon served through uWSGI and Nginx
  • Nginx serves /static/ from app/static content through Django collectstatic
  • Salmon mail server available through port 8823
  • Celery served as a distributed task queue for RabbitMQ
  • Automatic DB migration
  • Traefik as reverse proxy and creation/renewal of Let's Encrypt certificates
  • PostgreSQL image as database instance
  • RabbitMQ image for message queue

Docker

Environment variables

General

  • TZ : The timezone assigned to the container and Inboxen (default UTC)
  • PUID : Inboxen user id (default 1000)
  • PGID: Inboxen group id (default 1000)
  • DB_TIMEOUT : Time in seconds after which we stop trying to reach the PostgreSQL server (default 30)

Inboxen

The following environment variables allow to populate the settings.ini for Inboxen.

General

Inbox

Tasks

Database

Cache

Volumes

  • /data : Contains cache, media, logs and liberation data

Ports

  • 8080 : HTTP port of Nginx
  • 8823 : SMTP port for Salmon mail server

Use this image

Docker Compose

Docker compose is the recommended way to run this image. You can use the following docker compose template, then run the container :

touch acme.json
chmod 600 acme.json
docker-compose up -d
docker-compose logs -f

Notes

Add super user

On first launch, you will have to create a super user to handle administration through /admin :

$ docker-compose exec --user inboxen inboxen sh -c ". env/bin/activate && ./manage.py createsuperuser --username <username> --email <email>"
Password:
Password (again):
Superuser created successfully.

⚠️ Substitute your desired username <username> and email address <email>

Upgrade

To upgrade to the latest version, pull the newer image and launch the container. Inboxen will upgrade automatically :

docker-compose pull
docker-compose up -d

How can I help ?

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.