Initial commit: Socktop WebTerm with k3s deployment
- Multi-architecture Docker image (ARM64 + AMD64) - Kubernetes manifests for 3-replica deployment - Traefik ingress configuration - NGINX Proxy Manager integration - ConfigMap-based configuration - Automated build and deployment scripts - Session monitoring tools
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
user=root
|
||||
logfile=/var/log/supervisor/supervisord.log
|
||||
pidfile=/var/run/supervisord.pid
|
||||
childlogdir=/var/log/supervisor
|
||||
|
||||
[program:socktop-agent]
|
||||
command=/usr/bin/socktop_agent --port 3001
|
||||
directory=/home/socktop
|
||||
user=root
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startretries=3
|
||||
stderr_logfile=/var/log/supervisor/socktop-agent.err.log
|
||||
stdout_logfile=/var/log/supervisor/socktop-agent.out.log
|
||||
priority=100
|
||||
|
||||
[program:webterm]
|
||||
command=/app/target/release/webterm-server --host 0.0.0.0 --port 8082 --command /usr/local/bin/restricted-shell
|
||||
directory=/app
|
||||
user=root
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startretries=3
|
||||
stderr_logfile=/var/log/supervisor/webterm.err.log
|
||||
stdout_logfile=/var/log/supervisor/webterm.out.log
|
||||
priority=200
|
||||
environment=HOME="/home/socktop",USER="root",TERM="xterm-256color"
|
||||
|
||||
[unix_http_server]
|
||||
file=/var/run/supervisor.sock
|
||||
chmod=0700
|
||||
|
||||
[supervisorctl]
|
||||
serverurl=unix:///var/run/supervisor.sock
|
||||
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
Reference in New Issue
Block a user