Child pages
  • Install docker postgres database
Skip to end of metadata
Go to start of metadata

$ docker run --name postgres -e POSTGRES_PASSWORD=pass -d -p 5432:5432 postgres:12
$ docker exec -it -u postgres postgres psql
# CREATE USER grouper SUPERUSER PASSWORD 'pass';
# CREATE DATABASE grouper;
# GRANT ALL PRIVILEGES ON DATABASE grouper TO grouper;
# \q

Get your IP address

$ ifconfig

Database url: jdbc:postgresql://a.b.c.d:5432/grouper    (sub in ip address)

  • No labels