supervisor

This is supervisor installation on top of php56-cli image. Via env vars youcan set your config path and enable http interface for child monitoring.

To get most of this image use these settings in your job configs:

user=project so that files created by this job could be accessed vianetwork share and/or your IDE.

stdout_logfile=/dev/stdout so that all output of child processes couldbe visible in docker terminal.

stderr_logfile=/dev/stderr see above.

stdout_logfile_maxbytes=0 this is required for logging to console toprevent supervisor from doing seek on log files.

stderr_logfile_maxbytes=0 see above

NFQ_SUPERVISOR_CONF_DIR (optional)

Startup script will wait for this dir to be present before startingsupervisord.

default value: /etc/supervisor/conf.d

NFQ_SUPERVISOR_ENABLE_HTTP (optional)

If set to true, enables http interface for monitoring and managing childprocesses.

default value: false

NFQ_USE_STARTUP_TRIGGER (optional)

Set to true to delay service startup until connection to TCP port 2048 isreceived. This is useful if service can be started up only after certain inittasks have completed. Startup can be triggered with a simple command: