diff --git a/apps/scalar/config.json b/apps/scalar/config.json index b030c26..f158a78 100644 --- a/apps/scalar/config.json +++ b/apps/scalar/config.json @@ -27,12 +27,12 @@ { "type": "text", "label": "API Config", - "env_variable": "FORM_API_REFERENCE_CONFIG", - }, + "env_variable": "FORM_API_REFERENCE_CONFIG" + },{ "type": "text", "label": "Cors Proxy Url", "env_variable": "FORM_PROXY_URL", - "default": "https://cors.alexzaw.dev?url=" + "default": "https://cors.alexzaw.dev?url="} ], "https": false, "created_at": 1767952070034, diff --git a/apps/scalar/docker-compose.json b/apps/scalar/docker-compose.json index a9f5010..707a074 100644 --- a/apps/scalar/docker-compose.json +++ b/apps/scalar/docker-compose.json @@ -1,7 +1,7 @@ { "services": [ { - "_id": "service-9v11i7b", + "id": "scalar", "name": "api-reference", "image": "scalarapi/api-reference:latest", "isMain": true, @@ -9,7 +9,7 @@ "volumes": [ { "containerPath": "/docs", - "hostPath": "/etc/runtipi/apps/_user/scalar/apidocs", + "hostPath": "/etc/runtipi/app-data/runtipi/scalar/apidocs", "readOnly": false, "shared": false, "private": false @@ -20,6 +20,10 @@ { "key": "API_REFERENCE_CONFIG", "value": "{FORM_API_REFERENCE_CONFIG}" + }, + { + "key": "PROXY_URL", + "value": "{FORM_PROXY_URL}" } ], "addPorts": [