diff --git a/.arcconfig b/.arcconfig new file mode 100644 --- /dev/null +++ b/.arcconfig @@ -0,0 +1,4 @@ +{ + "phabricator.uri": "https://devcentral.nasqueron.org", + "repository.callsign": "DPGSENTRY" +} diff --git a/Dockerfile b/Dockerfile new file mode 100644 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM postgres:9.6 + +# Install wal2json +ENV WAL2JSON_VERSION 0.0.2 +RUN apt-get update ; apt-get install -y \ + wget \ + && rm -rf /var/lib/apt/lists/* \ + && wget -O $(pg_config --pkglibdir)/wal2json.so https://github.com/getsentry/wal2json/releases/download/$WAL2JSON_VERSION/wal2json-Linux-x86_64-glibc.so + +CMD ['postgres', '-c', 'wal_level=logical', '-c', 'max_replication_slots=1', '-c', 'max_wal_senders=1']