Add environment variable for DB server

This commit is contained in:
Thomas Peetz
2026-05-04 15:21:18 +02:00
parent d8914627a3
commit 69e58e6dfb
+2 -1
View File
@@ -6,8 +6,9 @@ After=network.target
Type=simple
User=tpeetz
Group=tpeetz
Environment="DB_SERVER=localhost"
WorkingDirectory=/home/tpeetz/projects/kontor/kontor-api
ExecStart=/home/tpeetz/.local/bin/uv run src.main:kontor --log-level info --host 127.0.0.1 --port 8200
ExecStart=/home/tpeetz/projects/kontor/kontor-api/.venv/bin/uvicorn src.main:kontor --log-level info --host 127.0.0.1 --port 8200
Restart=on-failure
[Install]