From a8ab135e89ca504641508fba9eff9cd106dc922c Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 16 Aug 2025 18:50:24 -0400 Subject: [PATCH] tsk-42: Some cleanup --- .env.docker.sample | 4 ++-- Dockerfile | 3 --- docker-compose.yaml | 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.env.docker.sample b/.env.docker.sample index aabeea1..5c5422d 100644 --- a/.env.docker.sample +++ b/.env.docker.sample @@ -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 diff --git a/Dockerfile b/Dockerfile index a562d6f..cab7a8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/docker-compose.yaml b/docker-compose.yaml index 58d07b8..2f11b07 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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