Created
April 20, 2020 06:38
-
-
Save jsdmultisys/236f950acd2303a59909711ef06066f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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