Skip to content

Commit

Permalink
Image configuration updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-davis authored and petrosagg committed Jun 7, 2021
1 parent ff7d88f commit 80763ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '2'
services:
postgres:
image: "sfackler/rust-postgres-test:6"
image: "sfackler/rust-postgres-test:7"
ports:
- 5433:5433
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM postgres:12

ENV POSTGRES_PASSWORD="password"

COPY sql_setup.sh /docker-entrypoint-initdb.d/
1 change: 1 addition & 0 deletions docker/sql_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ port = 5433
ssl = on
ssl_cert_file = 'server.crt'
ssl_key_file = 'server.key'
wal_level = logical
EOCONF

cat > "$PGDATA/pg_hba.conf" <<-EOCONF
Expand Down

0 comments on commit 80763ff

Please sign in to comment.