Add LXC deploy script, Gitea Actions workflow and deploy docs
deploy / deploy (push) Canceled after 0s
deploy / deploy (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=AI Rendezvous server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=deploy
|
||||
WorkingDirectory=/opt/ai-rendezvous
|
||||
ExecStart=/usr/bin/node packages/server/dist/src/index.js
|
||||
Environment=PORT=3000
|
||||
Environment=DB_PATH=/opt/ai-rendezvous/data/rendezvous.db
|
||||
# Set to the public URL agents will see in invite links:
|
||||
Environment=BASE_URL=http://localhost:3000
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user