Skip to content

Commit 62be9a6

Browse files
author
Gürkan İndibay
authored
Updates missing password usage for docker run. (#263)
1 parent c841fcf commit 62be9a6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ Since Citus is intended for use within a cluster, there are many ways to deploy
2121
If you just want to run a single Citus instance, it’s pretty easy to get started:
2222

2323
```bash
24-
docker run -d --name citus_standalone -p 5432:5432 -e POSTGRES_PASSWORD=mypassword citusdata/citus
24+
docker run --name citus_standalone -p 5432:5432 -e POSTGRES_PASSWORD=<postgres_password> citusdata/citus
2525
```
2626

27-
You should now be able to connect to `127.0.0.1` on port `5432` using e.g. `psql` to run a few commands (see the Citus documentation for more information).
27+
You should change '<postgres_password>' with a password you want. You should now be able to connect to `127.0.0.1` on port `5432` using e.g. `psql` to run a few commands (see the Citus documentation for more information).
2828

29+
```bash
30+
psql -h 127.0.0.1 -p 5442 -U postgres
31+
```
32+
Password will be requested and you should enter the password you provided as parameter 'POSTGRES_PASSWORD' in the previous step (<postgres_password>)
2933
As with the PostgreSQL image, the default `PGDATA` directory will be mounted as a volume, so it will persist between restarts of the container. But while the above _will_ get you a running Citus instance, it won’t have any workers to exercise distributed query planning. For that, you may wish to try the included [`docker-compose.yml`][compose-config] configuration.
3034

3135
#### Nightly Image

0 commit comments

Comments
 (0)