We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d56021 + b258aec commit 9e894a4Copy full SHA for 9e894a4
docker/README.md
@@ -46,6 +46,16 @@ and may make it harder to reproduce issues.
46
run
47
[docker-volume-watcher](https://github.com/merofeev/docker-windows-volume-watcher)
48
49
+#### DB tool:
50
+
51
+To connect to the container database with psql or another database tool, use
52
+port 6543 on localhost and populate the `DATABASE_NAME`, `DATABASE_OWNER` and
53
+`DATABASE_OWNER_PASSWORD` from your `.env` file:
54
55
+```bash
56
+$ psql "postgres://$DATABASE_OWNER:$DATABASE_OWNER_PASSWORD@localhost:6543/$DATABASE_NAME"
57
+```
58
59
#### Use Case Example:
60
61
> Attach to `dev`, run `yarn db commit` to commit the latest migration, then
0 commit comments