You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgres is default. Switch to PostGIS by copying the appropriate Dockerfile to `./database`:
358
+
Postgis is default. Switch to Postgres by removing the image names in [crunchy helm chart values](./charts/crunchy/values.yaml)
360
359
361
-
> cp ./database/postgis/Dockerfile ./database
360
+
## Crunchy
361
+
362
+
Crunchy is the default choice for HA postgres/postgis DB in BCGov. provided chart is to get up and going fast, it is upto teams to fine tune resource allocation and patroni parameters of crunchy DB to get the best out of database.
363
+
364
+
* For specifying different resources for different envs, just add values-test.yml and values-prod.yml , then provide them to the [DB Deployer in GHA](.github/workflows/.dbdeployer.yml#L24).
365
+
* For enabling S3 backups/recovery, please enable in [values file](./charts/crunchy/values.yaml#L62), and in the [DB Deployer in GHA](.github/workflows/.dbdeployer.yml#L20), then provide necessary secret values which are prefixed with `s3`[DB Deployer in GHA](.github/workflows/.dbdeployer.yml#L36)
362
366
363
367
## Alternative Backends
364
368
365
369
The sample Java, Python and Go backends repository has been archived, but we have lots of other great examples of active projects you can learn from!
366
370
367
371
*[NR-RFC-AlertAuthoring - Python with FastAPI and Alembic](https://github.com/bcgov/nr-rfc-alertauthoring)
368
-
*[NR-SPAR - Java with SpringBoot and Flyway](https://github.com/bcgov/nr-spar) (Quarkus and Cloud Native coming soon!)
0 commit comments