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 -p 80:80 \
-v fossbilling:/var/www/html \
--restart=always \
fossbilling/fossbilling:latest

Then open your server IP or hostname in a browser to complete the web installer.

After installation, set up the cron job on your host:

Terminal window
(crontab -l; echo "*/5 * * * * docker exec <container-name/id> su www-data -s /usr/local/bin/php /var/www/html/cron.php") | awk '!x[$0]++' | crontab -

Find your container name/ID:

Terminal window
docker ps
  1. Complete the web installer
  2. Configure the cron job shown above
  3. Secure your installation