mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 08:54:42 +02:00
feat: initial commit — Ansible roles storage-01/gpu-01 opérationnels
This commit is contained in:
commit
b3fce8af5d
70 changed files with 2688 additions and 0 deletions
25
ansible/roles/litellm/templates/litellm.service.j2
Normal file
25
ansible/roles/litellm/templates/litellm.service.j2
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[Unit]
|
||||
Description=LiteLLM Proxy — unified LLM gateway (Qwen local + Claude API)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ litellm_user }}
|
||||
Group={{ litellm_user }}
|
||||
|
||||
Environment=ANTHROPIC_API_KEY={{ litellm_anthropic_api_key }}
|
||||
|
||||
ExecStart={{ litellm_venv }}/bin/litellm \
|
||||
--config {{ litellm_config_dir }}/config.yaml \
|
||||
--host {{ litellm_host }} \
|
||||
--port {{ litellm_port }}
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=litellm
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue