The container runs multiple processes, including the Appsmith server, Nginx, MongoDB, etc., inside a single Docker container. These processes are started and managed by Supervisor.
Supervisor comes with a web interface for managing the various processes, available at http://localhost/supervisor, as well as a command-line interface towards the same goal.
{% hint style="info" %}
The credentials for supervisor access is defined by the environment variables APPSMITH_SUPERVISOR_USER
and APPSMITH_SUPERVISOR_PASSWORD
in the stacks/configuration/docker.env
file.
{% endhint %}
Here's a screenshot of the web interface listing all the processes managed:
The command-line interface can also be used to perform operations like restarting the Appsmith server, restarting Nginx, etc. For example, the following command (run in the installation folder) can be used to get the status of all running processes:
docker-compose exec appsmith supervisorctl status
Or to view the last few lines of stderr output of one of the processes:
docker-compose exec appsmith supervisorctl tail backend stderr
To learn more, please refer to Supervisor's documentation on what actions are available to be performed by the command-line interface.