/supervisord.conf Secret
Created
June 5, 2019 11:37
Run multiple service in docker container - supervisor configuration file
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:java] | |
command=java -jar /ext/second-service.jar -DFOREGROUND | |
stderr_logfile=/var/run/java/err.log | |
stdout_logfile=/var/run/java/out.log | |
autorestart=false | |
[program:dotnet] | |
command=dotnet /app/MyApplication.dll --urls http://0.0.0.0:80 | |
stderr_logfile=/var/run/dotnet/err.log | |
stdout_logfile=/var/run/dotnet/out.log | |
autorestart=false | |
[eventlistener:dotnet_exit] | |
command=/scripts/supervisor-kill-container.py | |
process_name=dotnet | |
events=PROCESS_STATE_EXITED | |
[inet_http_server] | |
port=*:9001 | |
username=admin | |
password=admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment