From 2c0c62f297c685a9ec8d5c90be22b405b852c25a Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Wed, 3 Jun 2026 07:02:58 +0100 Subject: [PATCH] chore: inline postgres durability flags into docker-compose.yml Apply the CI durability flags directly in the dev compose file instead of a separate override, and drop the override wiring from ci.yml. --- .github/workflows/ci.yml | 1 - docker-compose.ci-postgres.yml | 7 ------- docker-compose.yml | 6 +++++- 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 docker-compose.ci-postgres.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 866f948bfd..343d22fdf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -475,7 +475,6 @@ jobs: echo "_APP_DB_HOST=mongodb" >> $GITHUB_ENV echo "_APP_DB_PORT=27017" >> $GITHUB_ENV elif [ "${{ matrix.database }}" = "PostgreSQL" ]; then - echo "COMPOSE_FILE=docker-compose.yml:docker-compose.ci-postgres.yml" >> $GITHUB_ENV echo "COMPOSE_PROFILES=postgresql" >> $GITHUB_ENV echo "_APP_DB_ADAPTER=postgresql" >> $GITHUB_ENV echo "_APP_DB_HOST=postgresql" >> $GITHUB_ENV diff --git a/docker-compose.ci-postgres.yml b/docker-compose.ci-postgres.yml deleted file mode 100644 index 4455aa5e29..0000000000 --- a/docker-compose.ci-postgres.yml +++ /dev/null @@ -1,7 +0,0 @@ -services: - postgresql: - command: > - postgres - -c fsync=off - -c synchronous_commit=off - -c full_page_writes=off diff --git a/docker-compose.yml b/docker-compose.yml index ab51ad32c0..c8e61f14b3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1356,7 +1356,11 @@ services: timeout: 5s retries: 10 start_period: 10s - command: "postgres" + command: > + postgres + -c fsync=off + -c synchronous_commit=off + -c full_page_writes=off appwrite-embedding: image: appwrite/embedding:0.1.0