add on your jvm run :
> //Run a Postgres instance
> docker rm some-postgres && docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword postgres
-DMAIL_USERNAME="[ADDRESS]@gmail.com"
-DMAIL_PASSWORD="[GMAI-PASSWORD]"
-DMAIL_ADDRESS="[ADDRESS]@gmail.com"
-DRDS_USERNAME=postgres
-DRDS_PASSWORD=mysecretpassword
-DRDS_HOSTNAME=localhost
-DRDS_PORT=5432
-DRDS_DB_NAME=postgres
> ssh -i [PEM] [AWS-USER]@[AWS-IP] -L9999:[RDS-NAME]:5432
> psql -p 9999 -h localhost -W -U restCredentialRe ebdb
Web graphic by Freepik from Flaticon is licensed under CC BY 3.0. Made with Logo Maker
Written with StackEdit.