Skip to content

Instantly share code, notes, and snippets.

@berkayakcay

berkayakcay/supervisord.conf Secret

Created Jun 5, 2019
Embed
What would you like to do?
Run multiple service in docker container - supervisor configuration file
[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