Initial Animatrix import
This commit is contained in:
15
infra/animatrix-backend.service
Normal file
15
infra/animatrix-backend.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Animatrix Backend
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=desineuron-node-01
|
||||
WorkingDirectory=/opt/animatrix/backend
|
||||
Environment=PATH=/opt/animatrix/backend/.venv/bin
|
||||
ExecStart=/opt/animatrix/backend/.venv/bin/uvicorn app.main:app --host 127.0.0.1 --port 8200
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user