This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.
🐳 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!
- 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
TZ
: The timezone assigned to the container and Inboxen (defaultUTC
)PUID
: Inboxen user id (default1000
)PGID
: Inboxen group id (default1000
)DB_TIMEOUT
: Time in seconds after which we stop trying to reach the PostgreSQL server (default30
)
The following environment variables allow to populate the settings.ini for Inboxen.
General
IB_ADMIN_EMAILS
: See general / admin_emails settingIB_ADMIN_NAMES
: See general / admin_names settingIB_ALLOWED_HOSTS
: See general / allowed_hosts setting (default*
)IB_DEBUG
: See general / debug setting (defaultfalse
)IB_ENABLE_REGISTRATION
: See general / enable_registration setting (defaultfalse
)IB_ENABLE_USER_EDITING
: See general / enable_user_editing setting (defaultfalse
)IB_LANGUAGE_CODE
: See general / language_code setting (defaulten-gb
)IB_LOGIN_ATTEMPT_COOLOFF
: See general / login_attempt_cooloff setting (default10
)IB_LOGIN_ATTEMPT_LIMIT
: See general / login_attempt_limit setting (default5
)IB_REGISTER_LIMIT_WINDOW
: See general / register_limit_window setting (default1440
)IB_REGISTER_LIMIT_COUNT
: See general / register_limit_count setting (default100
)IB_SECRET_KEY
: See general / secret_key settingIB_SERVER_EMAIL
: See general / server_email setting (defaultdocker-inboxen@localhost
)IB_SITE_NAME
: See general / site_name setting (defaultDocker Inboxen
)IB_SOURCE_LINK
: See general / source_link setting (defaulthttps://github.com/Inboxen/Inboxen
)IB_PER_USER_EMAIL_QUOTA
: See general / per_user_email_quota setting (default0
)
Inbox
IB_INBOX_LENGTH
: See inbox / inbox_length setting (default5
)IB_INBOX_LIMIT_WINDOW
: See inbox / inbox_limit_window setting (default1440
)IB_INBOX_LIMIT_COUNT
: See inbox / inbox_limit_count setting (default100
)
Tasks
IB_TASKS_BROKER_URL
: See tasks / broker_url setting (defaultamqp://guest:guest@localhost:5672//
)IB_TASKS_CONCURRENCY
: See tasks / concurrency setting (default3
)IB_LIBERATION_SENDFILE_METHOD
: See tasks / liberation / sendfile_method setting (defaultsimple
)
Database
IB_DB_NAME
: See database / name setting (defaultinboxen
)IB_DB_USER
: See database / user settingIB_DB_PASSWORD
: See database / password settingIB_DB_HOST
: See database / host settingIB_DB_PORT
: See database / port setting
Cache
IB_CACHE_TIMEOUT
: See cache / timeout setting (default300
)
/data
: Contains cache, media, logs and liberation data
8080
: HTTP port of Nginx8823
: SMTP port for Salmon mail server
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
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>
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
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! 🙏
MIT. See LICENSE
for more details.