layout |
---|
default |
You need Docker and docker-compose installed.
Copy the .env.example file and edit it.
cp .env.example .env
Edit the file
PG_CONTAINER_NAME=pgserver
PG_USER_NAME=pgtest
PG_USER_PWD=CHANGEME
PG_DB_NAME=pgtest
PG_DB_PATH=/tmp/dbfiles
- replace 'pgserver' with the container name you want.
- replace 'pgtest' with the usery db user.
- replace 'CHANGEME' with the password you want to use for the db user.
- replace 'pgtest' with the name you want to use for the database.
- replace '/tmp/dbfiles' with the path on your system for database files to persist data.