Commit 4855218
authored
Fix docker compose postgres volume path (#583)
Fix docker compose postgres volume
Partial revert of ac586b1.
The compose files previously used the mountpoint for postgres 18 containers (/var/lib/postgresql) on a postgres 17 container. Since the actual mountpoint, defined in the image as /var/lib/postgresql/data, is still free, a new unnamed volume was created for each container, resetting the database with every `docker compose down`.
Also locks the container version in the dev setup because the path will need to be changed back once the custom image is updated to postgres 18.1 parent ff28d4c commit 4855218
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments