Docker Container won't connect to Database

Sadly, If it fails then it has failed! I have done this for several clients with no success. Docker images that depend on other images or need special tinkering never work from my experience.

You can install it this way Install Invoice Ninja v5 on Ubuntu 20.04 - Self-Hosted | v5 - Discourse if you are running ubuntu

  1. Create a website with CyberPanel.

  2. Ignore Install Invoice Ninja v5 on Ubuntu 20.04 - Self-Hosted | v5 - Discourse use this instead [TUTORIAL] How to install any PHP modules using PEAR Package Manager OR use the https://SERVER_URL/managephp/installExtensions

  3. Ignore everything else but not this Install Invoice Ninja v5 on Ubuntu 20.04 - Self-Hosted | v5 - Discourse

  $ cd /home/mywebsite.com/public_html/
  # www.mywebsite.com/invoiceninja
  $ sudo mkdir invoiceninja && cd invoiceninja
  $ sudo wget <latest zip url>
  $ sudo unzip invoiceninja.zip
  1. Install Invoice Ninja v5 on Ubuntu 20.04 - Self-Hosted | v5 - Discourse

  2. For this step Install Invoice Ninja v5 on Ubuntu 20.04 - Self-Hosted | v5 - Discourse just go to Websites → List Websites → mywebsite.com → FIle Manager → Fix Permissions

  3. For this step Install Invoice Ninja v5 on Ubuntu 20.04 - Self-Hosted | v5 - Discourse create a cronjob the cyberpanel way - 7 - Cron Jobs - Docs - CyberPanel Community

Same applies for Install Invoice Ninja v5 on Enterprise Linux 8 - Self-Hosted | v5 - Discourse