Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 964bcab

Browse filesBrowse files
committed
Add local testing example and modify variables
1 parent 8bf2d2a commit 964bcab
Copy full SHA for 964bcab

File tree

Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Or alternatively specify the environment variables:
3939
| --- | --- |
4040
| `DATABASE_HOST` | IP / hostname of PostgreSQL server. |
4141
| `DATABASE_PORT` | TCP Port of PostgreSQL service. |
42-
| `DATABASE_USER` | Administrative user eg postgres with SUPERUSER privileges. |
43-
| `DATABASE_PASS` | Password of administrative user. |
42+
| `DATABASE_USERNAME` | Administrative user eg postgres with SUPERUSER privileges. |
43+
| `DATABASE_PASSWORD` | Password of administrative user. |
4444

4545
Some subcommands require additional environment parameters.
4646

@@ -60,3 +60,8 @@ Using bats setup and teardown and avoiding exposing postgres ports etc should al
6060
## Status
6161

6262
Feature incomplete. Work in progress.
63+
64+
## Local Testing
65+
66+
* `Example` - Create user
67+
docker run --rm -i -t -e DATABASE_HOST=localhost -e DATABASE_USERNAME=postgres -e DATABASE_PASSWORD=mysecretpassword -e DATABASE_PORT=5432 --network=host docker.io/panubo/postgres-toolbox create-user-db test test

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.