Add shared cluster credentials and readiness CI
ObjectStore CI / build (push) Successful in 10m22s

This commit is contained in:
admin committed 2026-11-16 03:41:32 +01:00
1 parent b724a21a0d
commit d73fa2c435
45 files changed
+2733 -226

No files matched your search

+9
View File
@@ -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"]