diff --git a/docker-compose.yml b/docker-compose.yml index f566f8ae9..a4b5c3f79 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,6 +36,10 @@ services: ports: - 5432:5432 restart: always + volumes: + - type: tmpfs + target: /var/lib/postgresql/data + command: -c fsync=off -c full_page_writes=off -c synchronous_commit=off healthcheck: test: ["CMD", "pg_isready", "-h", "postgres", "-q", "-d", "opendatacube", "-U", "opendatacube"] timeout: 45s