staging-sync

command
v0.0.0-...-05a13f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

README

Staging Sync

This executable can be used to sync data from PROD to STAGING.

It requires some configuration, but should only copy the public schema to the staging database.

Configuration

Needs the Cloud SQL Auth Proxy somewhere.

Specify the path with AUTH_PROXY_PATH in the environment.

See .env.example for the other required environment variables.

Use _AUTH_PROXY_CONFIG to specify if a proxy should be started and configured.

Should look something like this:

{projectId}:europe-west4:main-instance=tcp:localhost:{port}

The connection string associated with this should also have the same address configuration.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL