tsk-42: Dockerize the service (#44)

Closes #42

Reviewed-on: #44
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
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
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