Use the following environment variables in the PHP code to access MySQL:
getenv("MYSQL_HOST") getenv("MYSQL_PORT") getenv("MYSQL_USERNAME") getenv("MYSQL_PASSWORD") getenv("MYSQL_DATABASE")
You can SFTP files to the public folder using Cyberduck, FileZilla or gFTP (use your cloudron credentials to authenticate).
We recommend disabling SFTP access (from Cloudron's configuration panel) once you have uploaded your code.
sftp -P 2222 surfer.nebulon.info:public/
You can access phpMyAdmin using your Cloudron credentials here.
Note that disabling SFTP access also disables phpMyAdmin.
Apache logs can be viewed using the cloudron commandline tool.
cloudron logs -f
The app is configured to have access to the following Cloudron addons:
Read more about Cloudron addons and how to use them here.