Public Repository

Last pushed: 21 days ago
Short Description
Full Description

NOTE:
This image is intended to be used with nfqlt/docker vagrant box and other nfqlt docker images.
Other use scenarios might work but are not tested yet.

supervisor

This is supervisor installation on top of php71-cli image. Via env vars you
can 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 via
    network share and/or your IDE.
  • stdout_logfile=/dev/stdout so that all output of child processes could
    be visible in docker terminal.
  • stderr_logfile=/dev/stderr see above.
  • stdout_logfile_maxbytes=0 this is required for logging to console to
    prevent 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 starting
supervisord.

default value: /etc/supervisor/conf.d

NFQ_SUPERVISOR_ENABLE_HTTP (optional)

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

default value: false

NFQ_USE_STARTUP_TRIGGER (optional)

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

    netcat container_hostname 2048

If set to false, service will start immediately.

default value: false

php

Inherited features are described in parent readme


Docker Pull Command
Owner
nfqlt