Skip to content

Beautiful Open-Source Form Builder

Add database-proxy configuration to environments in vapor.yml

Julien Nahum0af3123ad188
diff --git a/api/vapor.yml b/api/vapor.yml
index 255347b7e..f82082956 100644
--- a/api/vapor.yml
+++ b/api/vapor.yml
@@ -18,6 +18,7 @@ environments:
runtime: "php-8.2:al2-arm"
storage: opnforms-prod
database: OpnForm
+ database-proxy: true
domain: api.opnform.com
build:
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
@@ -35,6 +36,7 @@ environments:
runtime: "php-8.2:al2-arm"
storage: opnforms-staging
database: OpnForm
+ database-proxy: true
domain: api.stg.opnform.com
build:
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"