AWS Technical series (Setting up bastion host and database)
Part 2 of the AWS Aurora Technical Series.
To see the module, please visit AWS Aurora Technical Series Part II - AWS Aurora & VPC
Getting started
- Start local PostgreSQL
docker-compose up
Note: To re-reun with new changes (configuration, sql migrations), run -
docker-compose up --build --force-recreate -V
-V
- Forces volume remount
- Add local PostgreSQL credentials to
.env.local
.env.local:
DB_USERNAME=user
DB_HOST=0.0.0.0
DB_PASSWORD=test123
DB_PORT=5438
- Start next.js local
yarn dev