Update Postgres documentation.

pull/9/head
Alex MacArthur 5 years ago committed by GitHub
parent 3601ffb049
commit 4e3a102886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,11 @@
# Postgres w/ Docker Compose # Postgres w/ Docker Compose
## Super User Authentication
Username: `root`
Password: `password`
## Enter the Container w/ Bash ## Enter the Container w/ Bash
`docker-compose exec --user root db /bin/bash` `docker-compose exec --user root db /bin/bash`
@ -8,16 +14,10 @@
`docker-compose exec --user root db psql -h localhost -U root` `docker-compose exec --user root db psql -h localhost -U root`
## Super User Authentication
Username: `root`
Password: `password`
## Create a DB ## Create a DB
While inside the shell, run the following: While inside the shell, run the following:
``` ```
CREATE DATABASE mydatabase; CREATE DATABASE "mydatabase";
``` ```

Loading…
Cancel
Save