docs(readme): add DB connection example

master
arcbjorn 2 years ago
parent 9bdf7b5a44
commit b390fd0536

@ -21,3 +21,10 @@ Restore:
```sh ```sh
cat <dump_name>.sql | docker exec -i <postgres-container-id> psql -U <user> cat <dump_name>.sql | docker exec -i <postgres-container-id> psql -U <user>
``` ```
Example of connection:
```sh
# host = container_name
postgres://username:password@container_name:port/db_name
```

Loading…
Cancel
Save