Skip to content

Commit

Permalink
Document image versioning scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 25, 2023
1 parent d13aba6 commit 4c88958
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ These images are designed to be configured in a `docker-compose.yml` as follows

```yml
qwc-postgis:
image: sourcepole/qwc-base-db:<version>
image: sourcepole/qwc-base-db:<pg_version>
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
Expand All @@ -33,6 +33,8 @@ Note:
* **You need to set a non-empty `POSTGRES_PASSWORD` ENV variable**.
* For persistent storage, mount folder volume to `/var/lib/postgresql/docker`.
* The `sourcepole/qwc-base-db` images are versioned according to the Postgres major version (i.e. 13, 14, 15, ...).
* The `sourcepole/qwc-base-db-migrate` images are versioned by date (`vYYYY.MM.DD`)

When the `qwc-postgis` image is run, then it checks whether `/var/lib/postgresql/docker` is empty.
If that's the case then it will proceed with setting up the
Expand Down

0 comments on commit 4c88958

Please sign in to comment.