Service Container Config and Debugging
Configuration Files
When connected to a Service Container via SSH the /container/config/
folder contains the config files for the applications running in the container. They include:
-
supervisord.conf - This contains the information for running the service, like the user and the command to start the application.
-
Service Config File - This file will have the same name the same as your service (e.g.
mongodb.conf
) and will contain all the configuration for your application.
After editing either file you will need to reboot the container to apply your changes.
Debugging Your Service
- Standard output messages should be logged to
/container/application/logs/supervisor/SERVICE_NAME-stdout.log
. - The standard error stream should be logged to
/container/application/logs/supervisor/SERVICE_NAME-stderr.log
.