20 lines
534 B
Plaintext
20 lines
534 B
Plaintext
[Unit]
|
|
Requires=litellm-db.service
|
|
|
|
[Container]
|
|
Environment=DATABASE_URL=postgresql://llmproxy:dbpassword9090@host.containers.internal:5432/litellm STORE_MODEL_IN_DB=True
|
|
EnvironmentFile=/home/ai/litellm.env
|
|
HealthCmd="python3 -c \"import urllib.request; urllib.request.urlopen('http://localhost:4000/health/liveliness')\""
|
|
HealthInterval=30s
|
|
HealthRetries=3
|
|
HealthStartPeriod=40s
|
|
HealthTimeout=10s
|
|
Image=docker.litellm.ai/berriai/litellm:main-latest
|
|
PublishPort=4000:4000
|
|
|
|
[Service]
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|