Skip to content

Commit 4984200

Browse files
committed
specify optimized tmpfs mount options
1 parent 0d61233 commit 4984200

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

operator/src/main/docker/compose-deviservices-test-pg15.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
image: postgres:15
44
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
55
tmpfs:
6-
- /var/lib/postgresql/data
6+
- /var/lib/postgresql/data:rw,async,noatime
77
healthcheck:
88
test: pg_isready -U root -d dummy
99
interval: 3s

operator/src/main/docker/compose-deviservices-test-pg16.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
image: postgres:16
44
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
55
tmpfs:
6-
- /var/lib/postgresql/data
6+
- /var/lib/postgresql/data:rw,async,noatime
77
healthcheck:
88
test: pg_isready -U root -d dummy
99
interval: 3s

operator/src/main/docker/compose-deviservices-test-pg17.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
image: postgres:17
44
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
55
tmpfs:
6-
- /var/lib/postgresql/data
6+
- /var/lib/postgresql/data:rw,async,noatime
77
healthcheck:
88
test: pg_isready -U root -d dummy
99
interval: 3s

operator/src/main/docker/compose-deviservices-test-pg18.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
image: postgres:18
44
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
55
tmpfs:
6-
- /var/lib/postgresql/18/docker
6+
- /var/lib/postgresql/18/docker:rw,async,noatime
77
healthcheck:
88
test: pg_isready -U root -d dummy
99
interval: 3s

0 commit comments

Comments
 (0)