Skip to content

Commit 011ba49

Browse files
committed
use the exec-form in the compose files to properly handle SIGTERM
1 parent 3ec0efa commit 011ba49

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
db:
33
image: postgres:15
4-
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
4+
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:
66
- /var/lib/postgresql/data:rw,async,noatime
77
healthcheck:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
db:
33
image: postgres:16
4-
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
4+
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:
66
- /var/lib/postgresql/data:rw,async,noatime
77
healthcheck:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
db:
33
image: postgres:17
4-
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
4+
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:
66
- /var/lib/postgresql/data:rw,async,noatime
77
healthcheck:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
db:
33
image: postgres:18
4-
command: "postgres -c checkpoint_timeout=10min -c fsync=off -c full_page_writes=off -c max_wal_size=2GB -c synchronous_commit=off"
4+
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:
66
- /var/lib/postgresql/18/docker:rw,async,noatime
77
healthcheck:

0 commit comments

Comments
 (0)