![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
github.com/loveholidays/cloudsql-proxy-is-up
Built on top of envoy-preflight.
cloudsql-proxy-is-up
is a simple wrapper application which makes it easier to run applications which depend on Cloud SQL Proxy as a sidecar container for Cloud SQL access. It ensures that your application doesn't start until Cloud SQL Proxy is ready, and that Cloud SQL Proxy shuts down when the application exits. It is best used as a prefix to your existing Docker entrypoint. It executes any argument passed to it, doing a simple path lookup:
cloudsql-proxy-is-up echo "hi"
cloudsql-proxy-is-up /bin/ls -a
CMD [ \
"/cloudsql-proxy-is-up", \
"/usr/bin/java", \
"-server", \
"-Xms256m", \
"-Xmx256m", \
"-jar", \
"/srv/some/artifact/application.jar" \
]
The cloudsql-proxy-is-up
wrapper won't do anything unless you provide the CLOUDSQL_PROXY_API
environment variable. This makes local development of your app easy.
If you do provide the CLOUDSQL_PROXY_API
environment variable, cloudsql-proxy-is-up
will poll the proxy indefinitely with backoff, waiting for Cloud SQL Proxy to report itself as live. Only then will it execute the command provided as an argument, so that your app can immediately start accessing the Cloud SQL.
All signals are passed to the underlying application. Be warned that SIGKILL
cannot be passed, so this can leave behind a orphaned process.
When the application exits, as long as it does so with exit code 0, cloudsql-proxy-is-up
will instruct Cloud SQL Proxy to shut down immediately.
Variable | Purpose |
---|---|
CLOUDSQL_PROXY_API | This is the path to Cloud SQL Proxy port, in the format 127.0.0.1:3306 . If provided, cloudsql-proxy-is-up will poll this port until it opens. If provided and local (127.0.0.1 or localhost ), then Cloud SQL Proxy will be instructed to shut down if the application exits cleanly. |
START_WITHOUT_CLOUDSQL_PROXY_API | If provided and set to true , cloudsql-proxy-is-up will not wait for Cloud SQL Proxy to be LIVE before starting the main application. However, it will still instruct Cloud SQL Proxy to exit. |
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.