Created
May 19, 2015 08:24
-
-
Save lfryc/4ed271b60ab56d3b03e8 to your computer and use it in GitHub Desktop.
PostgreSQL for UPS 1.1.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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