Skip to content

Commit

Permalink
Add supervisor to Dockerfile for process management
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Dec 10, 2024
1 parent f9ad7c7 commit 262d6f2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docker/Dockerfile_Process
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,23 @@ RUN if [ "true" = "$InstallMediaPush" ]; then \
# Example usage: ./start.sh -e 60


##################### supervisor configuration ##############################
#RUN apt-get update && apt-get install -y supervisor
#
#RUN echo '[supervisord]\n\
#nodaemon=true\n\
#\n\
#[program:antmedia]\n\
#command=/usr/local/antmedia/start.sh\n\
#autostart=true\n\
#autorestart=true\n\
#user=antmedia\n\
#stdout_logfile_maxbytes = 0\n\
#stderr_logfile_maxbytes = 0\n\
#stdout_logfile=/dev/stdout\n\
#stderr_logfile=/dev/stderr' > /etc/supervisor/supervisord.conf
#
#ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
##############################################################################

ENTRYPOINT ["/usr/local/antmedia/start.sh"]

0 comments on commit 262d6f2

Please sign in to comment.