...
Note: you can adjust the ports below, the default is to listen on 443 with a self-signed cert. Note: there are different sections for v4 vs v5
Quick start with docker (not docker-compose)
Install postgres
Code Block |
---|
docker run --name postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=pass -d -p 5432:5432 postgres:14 |
...
Code Block |
---|
docker run --name grouper -e GROUPERSYSTEM_QUICKSTART_PASS=pass -e GROUPER_MORPHSTRING_ENCRYPT_KEY=abcd1234 \ -e GROUPER_DATABASE_PASSWORD=pass -e GROUPER_DATABASE_USERNAME=postgres \ -e GROUPER_DATABASE_URL=jdbc:postgresql://w.x.y.z:5432/postgres -e GROUPER_AUTO_DDL_UPTOVERSION='v5.*.*' \ -d -p 443:8443 i2incommon/grouper:5.7.0 quickstart |
Quick start with docker-compose
You need to have the "docker" and "docker-compose" commands available (e.g. in linux, mac, or windows)
...
User: GrouperSystem
Pass: pass
Run individual docker or podman commands if you dont have docker-compose
Start and init database
Code Block |
---|
$ docker run --name postgres -e POSTGRES_PASSWORD=pass -d -p 5432:5432 postgres:14 $ docker exec -it -u postgres postgres psql # CREATE USER grouper 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) |
...