Skip to content

Docker Installation

The simplest option. This runs only the FOSSBilling container, so you must provide your own database service.

Terminal window
docker run -d \
--name fossbilling \
-p 127.0.0.1:8080:80 \
-v fossbilling:/var/www/html \
--restart unless-stopped \
fossbilling/fossbilling:latest

If your browser runs on the Docker host, open http://localhost:8080 to continue with the installer. This HTTP endpoint is intended only for local setup on the Docker host.

For remote or production use, configure a TLS-terminating reverse proxy that forwards X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto: https, then enable trusted-proxy support when prompted and complete the installer using its HTTPS URL, such as https://billing.example.com (see reverse-proxy setup). Do not replace the loopback mapping with a public port and enter installer credentials over remote HTTP.

The official Docker image runs FOSSBilling cron automatically every five minutes inside the container.

You do not need to add a host crontab entry when using the official Docker image.

See Docker Updates when updating FOSSBilling or replacing its container image.