-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupervisord.conf
More file actions
29 lines (27 loc) · 1.09 KB
/
supervisord.conf
File metadata and controls
29 lines (27 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[supervisord]
nodaemon=true ; Run in the foreground
loglevel=info ; Set log level
[program:starlink_data]
# Command to run the starlink script using the venv python
# command=/app/venv/bin/python3.11 /app/starlink/main.py --lat %(ENV_LAT)s --lon %(ENV_LON)s --alt %(ENV_ALT)s
# command=/app/venv/bin/python3 /app/starlink/main.py --lat %(ENV_LAT)s --lon %(ENV_LON)s --alt %(ENV_ALT)s
command=python3 /app/starlink/main.py --lat %(ENV_LAT)s --lon %(ENV_LON)s --alt %(ENV_ALT)s
directory=/app/starlink
autostart=true
autorestart=true # Restore original autorestart setting
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
environment=DATA_DIR="/app/data" # Removed the explicit PATH setting
[program:webapp]
# Explicitly use the installed Bun path
command=bun run start # Runs 'next dev' and 'tsx watch app.ts' via concurrently
directory=/app
autostart=true
autorestart=true
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
# Removed PATH env override here, rely on Dockerfile ENV PATH for python venv