From 6bd3a8210e378f5e0b020474721cd7850ddd8567 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Fri, 25 Apr 2025 22:30:08 -0400 Subject: [PATCH] Added docker-compose defaults --- docker-compose.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 3cbca0c..e840a51 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,7 +3,9 @@ version: '3.8' # Use a recent version services: # --- Web API --- api: - build: . # Tells docker-compose to build the Dockerfile in the current directory + build: # Tells docker-compose to build the Dockerfile in the current directory + context: . + ssh: ["default"] # Uses host's SSH agent container_name: icarus # Optional: Give the container a specific name ports: # Map host port 8000 to container port 3000 (adjust as needed) @@ -22,6 +24,7 @@ services: auth_api: build: context: ../icarus_auth # IMPORTANT: Relative path to the local checkout of your web API repo (containing the Dockerfile) + ssh: ["default"] # Uses host's SSH agent dockerfile: Dockerfile # Optional: Specify if your Dockerfile has a non-standard name container_name: auth_api restart: unless-stopped