Initial clean commit

This commit is contained in:
jlimolina 2026-01-13 13:39:51 +01:00
commit 6784d81c2c
141 changed files with 25219 additions and 0 deletions

12
Dockerfile.replica Normal file
View file

@ -0,0 +1,12 @@
FROM postgres:18-alpine
# Copy initialization script
COPY init-replica/init-replica.sh /docker-entrypoint-initdb.d/
# Make script executable
RUN chmod +x /docker-entrypoint-initdb.d/init-replica.sh
# Set environment for replication
ENV PRIMARY_HOST=db
ENV REPLICATION_USER=replicator
ENV REPLICATION_PASSWORD=replica_password