An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix dangerous cors config for directus-with-postgresql service
ShadowArcanistc5ec79bbb88c
diff --git a/templates/compose/directus-with-postgresql.yaml b/templates/compose/directus-with-postgresql.yamlindex 3aaa8f1390..7639444566 100644--- a/templates/compose/directus-with-postgresql.yaml+++ b/templates/compose/directus-with-postgresql.yaml@@ -28,7 +28,7 @@ services:- REDIS_PORT=6379- WEBSOCKETS_ENABLED=true- CORS_ENABLED=${CORS_ENABLED:-true}- - CORS_ORIGIN=${CORS_ORIGIN:-true}+ - CORS_ORIGIN=${CORS_ORIGIN}- CORS_METHODS=${CORS_METHODS:-GET,POST,PATCH,DELETE,OPTIONS}- CORS_ALLOWED_HEADERS=${CORS_ALLOWED_HEADERS:-Content-Type,Authorization}- CORS_CREDENTIALS=${CORS_CREDENTIALS:-true}