Added kokoro

This commit is contained in:
2025-06-03 23:43:19 +02:00
parent 755e14a602
commit a2dc223d1f
3 changed files with 23 additions and 0 deletions
@@ -43,6 +43,7 @@ ufw_outgoing_traffic:
- 443 # HTTPS
- 853 # DNS over TLS
- 11434 # Ollama
- 8880 # Kokoro-FastAPI
ufw_default_forward_policy: "ACCEPT"
@@ -36,6 +36,7 @@ ufw_enable: true
fw_allowed_ports:
- { rule: "allow", port: "22", proto: "tcp" }
- { rule: "allow", port: "11434", proto: "tcp" }
- { rule: "allow", port: "8880", proto: "tcp" }
ufw_outgoing_traffic:
- 22 # SSH
+21
View File
@@ -0,0 +1,21 @@
- name: Setup Kokoro FastApi
hosts: kokoro
vars:
podman_user: "{{ kokoro_user | default('kokoro') }}"
podman_group: "{{ kokoro_group | default('kokoro') }}"
podman_user_home: "{{ kokoro_home | default('/home/kokoro') }}"
podman_user_folders:
- data
pods:
- name: kokoro
repo:
image: ghcr.io/remsky/kokoro-fastapi-gpu
ports:
- "0.0.0.0:{{ kokoro_port | default(8880) }}:8880/tcp"
device:
- "nvidia.com/gpu=all"
tasks:
- name: Setup Pods
ansible.builtin.include_tasks:
file: tasks/podman.yml