Last active
August 29, 2015 14:07
-
-
Save rosskukulinski/c4481dfb064cc2074b2d to your computer and use it in GitHub Desktop.
Docker systemd example
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
FROM ubuntu | |
MAINTAINER Ross Kukulinski "ross@speakit.io" | |
ENV REFRESHED_AT 2014-09-22 | |
RUN apt-get -qq update | |
RUN apt-get -yqq install supervisor | |
COPY supervisord.conf /etc/supervisord.conf | |
# environment | |
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"] |
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
[supervisord] | |
nodaemon=true | |
[program:app1] | |
autorestart=true | |
command=/usr/bin/app1 | |
[program:app2] | |
autorestart=true | |
command=/usr/bin/app2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment