feat: add standalone Dockerfile with frontend and backend
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
[supervisord]
|
||||||
|
nodaemon=true
|
||||||
|
logfile=/app/logs/supervisord.log
|
||||||
|
pidfile=/var/run/supervisord.pid
|
||||||
|
|
||||||
|
[program:backend]
|
||||||
|
command=/app/taskpool
|
||||||
|
directory=/app
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stderr_logfile=/app/logs/backend.err.log
|
||||||
|
stdout_logfile=/app/logs/backend.out.log
|
||||||
|
environment=BH_SERVER_PORT="8052",BH_SERVER_HOST="127.0.0.1"
|
||||||
|
|
||||||
|
[program:nginx]
|
||||||
|
command=nginx -g "daemon off;"
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stderr_logfile=/app/logs/nginx.err.log
|
||||||
|
stdout_logfile=/app/logs/nginx.out.log
|
||||||
Reference in New Issue
Block a user