Add environment variable for DB server
This commit is contained in:
@@ -6,8 +6,9 @@ After=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
User=tpeetz
|
User=tpeetz
|
||||||
Group=tpeetz
|
Group=tpeetz
|
||||||
|
Environment="DB_SERVER=localhost"
|
||||||
WorkingDirectory=/home/tpeetz/projects/kontor/kontor-api
|
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
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user