Skip to content

Instantly share code, notes, and snippets.

@jsdmultisys
Created April 20, 2020 06:38
Show Gist options
  • Save jsdmultisys/236f950acd2303a59909711ef06066f6 to your computer and use it in GitHub Desktop.
Save jsdmultisys/236f950acd2303a59909711ef06066f6 to your computer and use it in GitHub Desktop.
// Dockerfile
#-/ Supervisor.
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ENTRYPOINT ["supervisord"]
CMD ["-c", "/etc/supervisor/conf.d/supervisord.conf"]
# Supervisor. /-#
// config/supervisord.conf
[supervisord]
nodaemon=true
environment=HOME=/home/www-data
[program:apache2]
command=apache2ctl -DFOREGROUND
#[program:sshd]
#command=/usr/sbin/sshd -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment