From 34e74b8667ee8834dc01ebd35eacf97939c50e1b Mon Sep 17 00:00:00 2001 From: kimpure Date: Tue, 19 May 2026 16:02:56 +0000 Subject: [PATCH] add supertonic to services --- docker-compose-example.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker-compose-example.yml b/docker-compose-example.yml index 91a575b..f6c6be2 100644 --- a/docker-compose-example.yml +++ b/docker-compose-example.yml @@ -13,6 +13,7 @@ services: - discord-bot-internal - discord-bot-external environment: + SUPERTONIC_API_URL: "http://discord-supertonic" DISCORD_TOKEN: "${DISCORD_TOKEN}" APPLICATION_ID: "${APPLICATION_ID}" TYPECAST_TOKEN: "${TYPECAST_TOKEN}" @@ -31,3 +32,14 @@ services: POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}" POSTGRES_USER: "${POSTGRES_USER}" POSTGRES_DB: "${POSTGRES_DB}" + discord-supertonic: + build: crates/yaejuyang-supertonic + command: /app/yaejuyang-supertonic + container_name: "discord-supertonic" + networks: + - discord-bot-internal + environment: + SUPERTONIC_WORKERS: "1" + ENABLED_BACKENDS: "" + WEBGPU_DEVICE_ID: "0" + RUST_LOG: "info,ort=warn"