Starting a complete development environment for postgres.
-
Define your environment's parameters by using .env settings file.
-
Create into the folder config/certs the server certification files for nginx with following command:
openssl req -x509 -newkey rsa:4096 -sha256 -days 365 -nodes -keyout server.key -out server.crt -subj '/CN=localhost'
- Spin the evironment with docker compose:
# Starting the development environment
docker-compose up -d