CORS support #183

Merged
kdeng00 merged 12 commits from cors into main 2025-10-10 16:33:16 -04:00
Showing only changes of commit ba47bd659b - Show all commits
+2 -2
View File
@@ -10,7 +10,7 @@ services:
ports: ports:
# Map host port 8000 to container port 3000 (adjust as needed) # Map host port 8000 to container port 3000 (adjust as needed)
# Format: "HOST_PORT:CONTAINER_PORT" # Format: "HOST_PORT:CONTAINER_PORT"
- "8000:3000" - "8000:8000"
env_file: env_file:
- .env - .env
depends_on: depends_on:
@@ -29,7 +29,7 @@ services:
container_name: auth_api container_name: auth_api
restart: unless-stopped restart: unless-stopped
ports: ports:
- "8001:3000" # Map host port 8000 to container port 8000 (adjust container port based on your app's EXPOSE in Dockerfile) - "8001:8001" # Map host port 8000 to container port 8000 (adjust container port based on your app's EXPOSE in Dockerfile)
# environment: # environment:
# Environment variables your API needs, e.g., database connection # Environment variables your API needs, e.g., database connection
# Add other necessary environment variables # Add other necessary environment variables