Initial import

This commit is contained in:
Dan Milne
2025-02-19 18:57:07 +11:00
parent a5c4fc4fdf
commit a5a6d8565d
7 changed files with 1776 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
services:
solid-pg:
restart: always
image: postgres:17
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_MULTIPLE_DATABASES: solid_cache, solid_queue
ports:
- "${HOST_IP}:5431:5432"
volumes:
- ./postgresql.${HOST_KIND}.conf:/etc/postgresql/postgresql.conf:ro
- ./multiple-databases.sh:/docker-entrypoint-initdb.d/multiple-databases.sh
- postgres_solid_stuff_data:/var/lib/postgresql/data
# - /var/pgdata/17:/var/lib/postgresql/data
command: ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
solid-bounce:
restart: always
image: edoburu/pgbouncer:latest
depends_on:
- solid-pg
ports:
- "${HOST_IP}:6431:5432"
volumes:
- ./pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro
- ./userlist.txt:/etc/pgbouncer/userlist.txt
volumes:
postgres_solid_stuff_data: