This commit is contained in:
mario
2025-04-07 11:14:18 +07:00
commit f340bc5916
17 changed files with 1424 additions and 0 deletions

18
config/config.yaml Normal file
View File

@@ -0,0 +1,18 @@
server:
port: 8080
read_timeout_seconds: 30
write_timeout_seconds: 30
idle_timeout_seconds: 60
log_level: "info" # debug, info, warn, error
google:
project_id: "your-project-id"
location: "asia-southeast2"
dataset: "dicom-storage"
dicom_store: "ohif"
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)