From 9146ac06a663f73f04d8894a3c5e203370e37fd7 Mon Sep 17 00:00:00 2001 From: Johannes Heuel Date: Tue, 26 Nov 2024 21:49:35 +0100 Subject: [PATCH] add docker-compose.yml --- Cargo.lock | 1 + Cargo.toml | 2 +- docker-compose.yml | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml diff --git a/Cargo.lock b/Cargo.lock index dc0c626..af8d713 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3145,6 +3145,7 @@ dependencies = [ "bytemuck", "lazy_static", "log", + "rustfft", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 8f54a8e..e86df78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "MIT" [dependencies] -symphonia = { version = "0.5.2", features=["all"] } +symphonia = { version = "0.5.2", features=["all", "opt-simd"] } songbird = { version = "0.4.0", features = ["driver", "gateway", "twilight", "rustls", "builtin-queue"] } tokio = { features = ["macros", "rt-multi-thread", "signal", "sync"], version = "1" } sqlx = { version = "0.7", features = [ "runtime-tokio", "sqlite", "chrono", "migrate"] } diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4bd6807 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +services: + ohrwurm: + container_name: ohrwurm + image: jheuel/ohrwurm:latest + restart: unless-stopped + volumes: + - ./data:/data + env_file: + - .env