Important Files

Your server files, logs and backups are all stored in a separate location on your Cloud Container Server away from where your containers are located. This allows you to easily swap out and update the images that your containers use.

Unfortunately, we cannot allow customers to edit the configuration for a Cloud Container server. However, you are free to make whatever changes you may desire to the configuration files that belong to the software running within your containers. This includes configuration files for web servers, languages, databases, etc.

Upon logging into a SSH user you will see a containers symbolic link within your home directory. This will contain directories for each of the containers that you have assigned to this SSH user. The following directories can be present for a container:

application/
Place the files of your application within this directory and they will be made available to the software running in your container. For web containers, this directory will also contain a 'public' directory with this being the web root for your application. We don't recommend creating a symlink of the 'public' directory to another folder, as it can be overwritten during an image upgrade, downgrade or switch. If your deployment process requires a soft link setup, we suggest creating a symbolic link either inside or outside the 'public' folder and updating the 'root' or 'DocumentRoot' settings in Nginx or Apache configuration respectively to match the created path.

backups/
Any backups that are made of your container or the databases that are linked to it, will be placed within this directory. If your container has not had any backups taken, this directory may not yet be present. Additionally, you may also see a 'migration' directory appear here when your container has been migrated or updated to a new image.

config/
All configuration files related to the software running inside your container can be found here. For example, if your container is running a web server such as Nginx or Apache, the configuration files for these will be placed under a 'nginx' or 'apache2' directory respectively. Optionally, this directory can be marked as readonly to prevent changes from being made to configuration files. For more information on this, please see our SSH User Privileges article.

crontabs/
Custom cron entries can be placed within the 'crontab' file that resides in this directory. For more information, please see our article on setting up a custom crontab.

logs/
Logs for each piece of software running within your container will be recorded here.