-
Notifications
You must be signed in to change notification settings - Fork 3
btp.DB
meta-d edited this page Mar 6, 2024
·
1 revision
We can use the PostgreSQL Service provided through @cap-js/postgres
, the package uses cds-plugin
technique to auto-configure your application and use a PostgreSQL database for production.
For local development and testing convenience, you can run PostgreSQL in a docker container.
- Setup local database
docker-compose -f pg.yml up -d
ordocker-compose -f pg.yml --env-file=/dev/null up -d
Check your db config for production using command
cds env requires.db --for production