connected-to-google

This commit is contained in:
mario
2025-04-07 15:46:07 +07:00
parent f340bc5916
commit 9b8e0260f3
15 changed files with 282 additions and 286 deletions

View File

@@ -1,5 +1,5 @@
server:
port: 8080
port: 5555
read_timeout_seconds: 30
write_timeout_seconds: 30
idle_timeout_seconds: 60
@@ -7,12 +7,11 @@ server:
log_level: "info" # debug, info, warn, error
google:
project_id: "your-project-id"
location: "asia-southeast2"
dataset: "dicom-storage"
dicom_store: "ohif"
project_id: "ohifproxy" # Replace with your GCP project ID
location: "asia-southeast2" # Match your dataset region
dataset: "sas-storage" # Your dataset name
dicom_store: "store-1" # Your DICOM store name
credentials_path: "./credentials/service-account.json"
# CORS settings - origins that are allowed to access the API
allowed_origins:
- "*" # Allow all origins (you may want to restrict this in production)
- "*" # For development; restrict this in production