diff --git a/config.example.env b/config.example.env index 9d2f3f7ae0..c7b2cc0f3b 100644 --- a/config.example.env +++ b/config.example.env @@ -61,10 +61,10 @@ DATABASE_HOST=postgres # Used to connect to managed postgres providers. # Fill only what your provider needs. -DatabaseRejectUnauthorized=false -DatabaseSslCa= -DatabaseSslKey= -DatabaseSslCert= +DATABASE_SSL_REJECT_UNAUTHORIZED=false +DATABASE_SSL_CA= +DATABASE_SSL_KEY= +DATABASE_SSL_CERT= # Redis DB Settings. diff --git a/package.json b/package.json index 9bfed6c841..1b2dd87eb5 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "force-build-dev": "npm run config-to-dev && npm run force-build", "kill": "npm run stop", "prod": "npm run config-to-prod && export $(grep -v '^#' config.env | xargs) && docker compose up -f docker-compose.yml -d", - "dev": "npm run config-to-dev && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml up --remove-orphans -d $npm_config_services", + "dev": "npm run config-to-dev && npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml up --remove-orphans -d $npm_config_services", "stop": "docker compose down --remove-orphans", "prune": "docker system prune", "remove-all-containers": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) || echo 'No running containers'",