Skip to content

Commit

Permalink
Modified docker documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dutow committed Jul 9, 2024
1 parent f56dda0 commit c6abf2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions documentation/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ Install `pg_tde` using one of available installation methods:
docker run --name pg-tde -e POSTGRES_PASSWORD=mysecretpassword -d perconalab/pg_tde
```

It builds and adds `pg_tde` extension to PostgreSQL 16. Relevant `postgresql.conf` and `tde_conf.json` are created in `/etc/postgresql/` inside the container. This directory is exposed as a volume.
It builds and adds `pg_tde` extension to PostgreSQL 16. The `postgresql.conf` contains the required modifications, and the extension is added to `template1` - with this, all new databases automatically have the `pg_tde` extension loaded.

Keys are not created automatically, each database requires a key provider and a principal key before encrypted tables can be used. For that, see the instructions in the [Setup](setup.md) section, starting with the 4th point, as the first 3 steps are already completed in the docker image.

See [Docker Docs](https://hub.docker.com/_/postgres) on usage.

Expand All @@ -82,4 +84,4 @@ Install `pg_tde` using one of available installation methods:

## Next steps

[Setup](setup.md){.md-button}
[Setup](setup.md){.md-button}

0 comments on commit c6abf2b

Please sign in to comment.