Bind gunicorn to 0.0.0.0 for LAN access
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
4d697c7ca4
commit
d237f4d290
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/micronas
|
||||
EnvironmentFile=/etc/micronas.env
|
||||
ExecStart=/opt/micronas/venv/bin/gunicorn -w 1 -b 127.0.0.1:5000 app:app
|
||||
ExecStart=/opt/micronas/venv/bin/gunicorn -w 1 -b 0.0.0.0:5000 app:app
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
|
||||
Reference in new issue
Block a user