From 7e052313af7282a798fac627fecc16e420ce1815 Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 25 Apr 2025 12:01:37 -0700 Subject: [PATCH] feat(infra): Enable wal logical for dev (#8879) Enables `wal_level = logical` so we can start implementing CDC. **WARNING**: This will trigger a restart of our database instance, so it should be deployed during our standard maintenance window (Saturday evening). --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 28b998ae5..9ecfa438d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: # TODO: Enable pgaudit on dev instance. See https://github.com/pgaudit/pgaudit/issues/44#issuecomment-455090262 # Includes wal2json image: us-east1-docker.pkg.dev/firezone-staging/firezone/postgres:15 + command: ["postgres", "-c", "wal_level=logical"] volumes: - postgres-data:/var/lib/postgresql/data environment: