This commit is contained in:
1 parent
b724a21a0d
commit
d73fa2c435
45 files changed
+2733
-226
No files matched your search
@@ -0,0 +1,9 @@
|
||||
FROM postgres:17-alpine
|
||||
RUN apk add --no-cache python3 py3-pip py3-psycopg2 && \
|
||||
python3 -m venv --system-site-packages /opt/patroni && \
|
||||
/opt/patroni/bin/pip install --no-cache-dir 'patroni[etcd3]==4.1.5'
|
||||
COPY patroni.yaml /etc/patroni.yaml
|
||||
COPY bootstrap.sh /usr/local/bin/bootstrap-objectstore
|
||||
RUN chmod 755 /usr/local/bin/bootstrap-objectstore
|
||||
USER postgres
|
||||
ENTRYPOINT ["/opt/patroni/bin/patroni", "/etc/patroni.yaml"]
|
||||
Reference in new issue
Block a user