Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created May 19, 2015 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfryc/4ed271b60ab56d3b03e8 to your computer and use it in GitHub Desktop.
Save lfryc/4ed271b60ab56d3b03e8 to your computer and use it in GitHub Desktop.
PostgreSQL for UPS 1.1.x
docker run -it -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword postgres
docker run -it -e POSTGRES_PASSWORD=mysecretpassword docker.io/postgres /bin/bash
psql -h 192.168.15.104 -U postgres
create database unifiedpush;
create database keycloak;
create user unifiedpush with password 'unifiedpush';
GRANT ALL PRIVILEGES ON DATABASE unifiedpush to unifiedpush;
GRANT ALL PRIVILEGES ON DATABASE keycloak to unifiedpush;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment