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.
Just put a file called crontab to the directory /app/data and it will picked up at next app restart. It has to be in the cron syntax without username and must end with a newline. For example, the following crontab updates feeds every hour:
0 * * * * php /app/code/update.php --feeds
Commands are executed as the user www-data. See manpage for a description of the file.
The app is configured to have access to the following Cloudron addons:
Read more about Cloudron addons and how to use them here.