Skip to content

Commit 0e0fab2

Browse files
authored
Docker-compose: pgSQL: Fix tmpfs (#789)
PostgreSQL 18+ změnil strukturu ukládání dat a očekává mount na /var/lib/postgresql místo /var/lib/postgresql/data. See docker-library/postgres#1259
1 parent d80c3b9 commit 0e0fab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
POSTGRES_PASSWORD: postgres
1818
POSTGRES_DB: nextras_orm_test
1919
tmpfs:
20-
- /var/lib/postgresql/data
20+
- /var/lib/postgresql
2121
command: >
2222
-c fsync=off
2323
-c synchronous_commit=off

0 commit comments

Comments
 (0)