Native PostgreSQL driver / client for Zig
1services:
2 postgres:
3 image: postgis/postgis
4 platform: linux/amd64
5 environment:
6 POSTGRES_USER: "postgres"
7 POSTGRES_PASSWORD: "postgres"
8 PGDATA: "/var/lib/postgresql/pgdata/"
9 LANG: "en_US.utf8"
10 ports:
11 - 5432:5432
12 volumes:
13 - "./root.crt:/etc/postgresql/root.crt:ro"
14 - "./server.crt:/etc/postgresql/server.crt:ro"
15 - "./server.key:/etc/postgresql/server.key:ro"
16 - "./pg_hba.conf:/etc/postgresql/pg_hba.conf:ro"
17 - "./postgresql.conf:/etc/postgresql/postgresql.conf:ro"
18 - "./init_ssl.sql:/docker-entrypoint-initdb.d/init_ssl.sql:ro"
19 command:
20 - "postgres"
21 - "-c"
22 - "config_file=/etc/postgresql/postgresql.conf"
23 - "-c"
24 - "hba_file=/etc/postgresql/pg_hba.conf"
25