tsk-42: Dockerize the service #44

Merged
phoenix merged 6 commits from tsk-42 into main 2025-08-16 23:12:05 +00:00
3 changed files with 2 additions and 8 deletions
Showing only changes of commit a8ab135e89 - Show all commits

View File

@@ -1,4 +1,4 @@
ROOT_DIRECTORY=/usr/local/bin
ICARUS_BASE_API_URL=http://localhost:8000
ICARUS_AUTH_BASE_API_URL=http://localhost:8001
ICARUS_BASE_API_URL=http://api:3000
ICARUS_AUTH_BASE_API_URL=http://auth_api:3000
SERVICE_PASSPHRASE=iUOo1fxshf3y1tUGn1yU8l9raPApHCdinW0VdCHdRFEjqhR3Bf02aZzsKbLtaDFH

View File

@@ -58,9 +58,6 @@ COPY --from=builder /usr/src/app/target/release/songparser .
# It's generally better to configure via environment variables in Docker though
COPY --from=builder /usr/src/app/.env .
# Expose the port your Axum app listens on (e.g., 3000 or 8000)
# EXPOSE 3000
# Set the command to run your application
# Ensure this matches the binary name copied above
CMD ["./songparser"]

View File

@@ -7,9 +7,6 @@ services:
context: .
ssh: ["default"] # Uses host's SSH agent
container_name: songparser # Optional: Give the container a specific name
# ports:
# Map host port 8000 to container port 3000 (adjust as needed)
# - "8002:3002"
env_file:
- .env
restart: unless-stopped # Optional: Restart policy