mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-14 15:24: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
11
ansible/roles/qdrant/templates/config.yaml.j2
Normal file
11
ansible/roles/qdrant/templates/config.yaml.j2
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
storage:
|
||||
storage_path: {{ qdrant_data_dir }}/storage
|
||||
snapshots_path: {{ qdrant_data_dir }}/snapshots
|
||||
|
||||
service:
|
||||
host: {{ qdrant_host }}
|
||||
http_port: {{ qdrant_http_port }}
|
||||
grpc_port: {{ qdrant_grpc_port }}
|
||||
enable_cors: true
|
||||
|
||||
log_level: {{ qdrant_log_level }}
|
||||
18
ansible/roles/qdrant/templates/qdrant.service.j2
Normal file
18
ansible/roles/qdrant/templates/qdrant.service.j2
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=Qdrant — vector database
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ qdrant_user }}
|
||||
Group={{ qdrant_user }}
|
||||
ExecStart={{ qdrant_install_dir }}/qdrant --config-path {{ qdrant_install_dir }}/config.yaml
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=qdrant
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue