Initial clean commit
This commit is contained in:
commit
6784d81c2c
141 changed files with 25219 additions and 0 deletions
12
Dockerfile.replica
Normal file
12
Dockerfile.replica
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue