docs: Update postgres volume bind mount#1597
Conversation
|
If the data directory is version dependent, the example should use a proper tag for the postgres image. |
|
I do not believe a version tag to be necessary. The example is already implicitly targeting the "latest" tag where the mount point has already changed and the example fails to launch the containers. If a version was specified, it could indicate there is a specific version expected from Gatus. I have made this assumption in the past, for other projects. Furthermore, while the data path is version dependent, the mount point is not. The Postgres container documentation shows that the database will keep the files in the new mount, even in future major versions. There could be an issue if the user specified a version tag of < 18, but I do not believe this is in the scope of an example config. Please correct and edit the request if I am mistaken. |
|
adding the image tag 18 would:
Actually the missing tag is not a weak point of your contribution, but on the example as it has been before. |
Summary
This update the bind mount for the postgres docker compose example.
This will fix #1596
Checklist
README.md, if applicable.