MGT Development Environment - FAQ
How can I connect with ssh?
To connect with SSH, use the user root and the password root.
ssh root@127.0.0.1
If you are already familiar with Docker, then you can also use the following command:
docker exec -it $yourContainerId bash
How can I upload files via SFTP?
Uploading files can be done with any FTP program like Filezilla.
- Host: 127.0.0.1
- Username: root
- Password: root
- Port: 22
How can I connect to MySQL?
To connect to MySQL from your host system or inside of your container, run the following command:
mysql -h127.0.0.1 -uroot -proot
The root password for MySQL is also: root
Where do I find the NGINX and PHP Logs?
The log files can be found in the directory: /home/cloudpanel/logs/
For each created domain you find a directory nginx and php.
File Sync
Do I need to sync the files from the host system in the container?
You can sync the files, but you don't have to. You can also work directly in the container.
For debugging with Xdebug it's needed to have the files on your host system and in your container.