tsk-42: Dockerize the service (#44)
All checks were successful
Rust Build / Check (push) Successful in -9s
Rust Build / Rustfmt (push) Successful in -12s
Rust Build / Test Suite (push) Successful in 37s
Rust Build / Clippy (push) Successful in -8s
Rust Build / build (push) Successful in 41s

Closes #42

Reviewed-on: #44
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
2025-08-16 23:12:05 +00:00
committed by phoenix
parent f748d93b3f
commit bd01dac544
7 changed files with 101 additions and 7 deletions

12
docker-compose.yaml Normal file
View File

@@ -0,0 +1,12 @@
version: '3.8' # Use a recent version
services:
# Your Rust Application Service
songparser:
build: # Tells docker-compose to build the Dockerfile in the current directory
context: .
ssh: ["default"] # Uses host's SSH agent
container_name: songparser # Optional: Give the container a specific name
env_file:
- .env
restart: unless-stopped # Optional: Restart policy