From c1e4ffd665477aec792e69fcea05b078e4576281 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sun, 27 Apr 2025 12:09:44 -0400 Subject: [PATCH] Added ssh default for building docker image --- docker-compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8dd5162..ed72c2b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,7 +3,9 @@ version: '3.8' # Use a recent version services: # Your Rust Application Service auth_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_auth # Optional: Give the container a specific name ports: # Map host port 8000 to container port 3000 (adjust as needed) @@ -40,4 +42,4 @@ services: # Define the named volume for data persistence volumes: postgres_data: - driver: local # Use the default local driver \ No newline at end of file + driver: local # Use the default local driver