Skip to content

Commit 1386a49

Browse files
authored
Merge pull request #2 from mongodb-developer/toms-updates
Improvements to RM lab - Docker steps and query converter
2 parents 65e0a59 + 1564433 commit 1386a49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+89302
-158
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM postgres:13
2+
3+
ENV POSTGRES_USER postgres
4+
ENV POSTGRES_PASSWORD postgres
5+
6+
COPY /docker/sample-postgres-library/init /docker-entrypoint-initdb.d
7+
RUN chmod u+x /docker-entrypoint-initdb.d/*.sh
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -e
3+
4+
psql -v ON_ERROR_STOP=1 --username "postgres" --dbname "postgres" <<-EOSQL
5+
ALTER SYSTEM SET wal_level to logical;
6+
EOSQL

0 commit comments

Comments
 (0)