Deployment supports nginx and PostgreSQL installed on the host, added import of an existing installation.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+23
-3
@@ -6,20 +6,40 @@ REZERVATOR_PREFIX=rezervator
|
||||
# Image the customer containers are started from
|
||||
REZERVATOR_IMAGE=rezervator:latest
|
||||
|
||||
# Reverse proxy in front of the customer containers:
|
||||
# traefik runs as a container of this stack, routes by domain, can issue certificates itself
|
||||
# nginx the nginx already installed on this host. Every customer container listens on
|
||||
# 127.0.0.1 on its own port (from BASE_PORT up) and the script generates an nginx
|
||||
# server block for it. TLS is up to nginx; the settings below REZERVATOR_TLS are ignored.
|
||||
REZERVATOR_PROXY=traefik
|
||||
BASE_PORT=3100
|
||||
|
||||
# PostgreSQL server holding the customer databases:
|
||||
# container runs as a container of this stack
|
||||
# host the PostgreSQL already installed on this host. The script manages databases
|
||||
# with "PG_ADMIN psql" and the containers connect to PG_HOST:PG_PORT.
|
||||
REZERVATOR_POSTGRES=container
|
||||
PG_ADMIN="sudo -u postgres"
|
||||
PG_HOST=host.docker.internal
|
||||
PG_PORT=5432
|
||||
|
||||
# Only for REZERVATOR_PROXY=traefik:
|
||||
# true: HTTPS with Let's Encrypt certificates, HTTP is redirected. Needs public DNS records
|
||||
# pointing to this host and ACME_EMAIL.
|
||||
# false: plain HTTP only, for local testing or behind another TLS terminating proxy.
|
||||
REZERVATOR_TLS=true
|
||||
ACME_EMAIL=
|
||||
|
||||
# Ports published by the proxy
|
||||
# Ports published by Traefik
|
||||
HTTP_PORT=80
|
||||
HTTPS_PORT=443
|
||||
|
||||
# Password of the PostgreSQL superuser. Generated by ./rezervator.sh init.
|
||||
# Only for REZERVATOR_POSTGRES=container: password of the PostgreSQL superuser.
|
||||
# Generated by ./rezervator.sh init.
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# Connection limits. PG_MAX_CONNECTIONS must be above
|
||||
# Connection limits. max_connections of PostgreSQL must be above
|
||||
# (number of customers) x CUSTOMER_MAX_CONNECTIONS, or put PgBouncer in front of PostgreSQL.
|
||||
# PG_MAX_CONNECTIONS sets it for REZERVATOR_POSTGRES=container; on the host, set it in postgresql.conf.
|
||||
PG_MAX_CONNECTIONS=300
|
||||
CUSTOMER_MAX_CONNECTIONS=5
|
||||
|
||||
Reference in New Issue
Block a user