Skip to main content

Hosting

Requirements

All services must have cron and message queue handlers set up.

Hub

  • PHP 8.3
  • Meilisearch
  • PostgreSQL
  • SMTP server for outgoing mail
  • Redis
  • S3 file hosting (optional)

Content Author

  • PHP 8.2
  • MySQL
  • Redis
  • S3 file hosting (optional)

Hosting with Docker Compose

danger

The docker-compose.yml file in the Edlib repository is for development only, and not suitable for hosting a public Edlib instance.

A sample Docker Compose setup suitable for production is available at https://github.com/cerpus/edlib-docker-example. This setup automates some of the first-time setup to make it easy to get started.

It is recommended to have some experience with Docker Compose before using this.

Traditional PHP hosting

Edlib is comprised of two Laravel services, and can run anywhere Laravel applications run. Note that the services have different for PHP versions.

For most purposes, the Laravel documentation on deployment applies to Edlib.