54 lines
2.6 KiB
Plaintext
54 lines
2.6 KiB
Plaintext
# One public name for the whole stack. It must resolve publicly to this server before the first
|
|
# start: Caddy obtains the certificate for it, and every service below uses that one certificate.
|
|
DATA_DOMAIN=data.example.com
|
|
TLS_CONTACT=admin@example.com
|
|
|
|
# Caddy is the only public entry point. Change a port only if clients also use it.
|
|
# HTTPS_PUBLIC_PORT S3 API https://<DATA_DOMAIN>
|
|
# POSTGRES_PUBLIC_PORT PostgreSQL <DATA_DOMAIN>:5432
|
|
# CONSOLE_PUBLIC_PORT MinIO console https://<DATA_DOMAIN>:9443
|
|
# PGADMIN_PUBLIC_PORT pgAdmin https://<DATA_DOMAIN>:5443
|
|
# HTTP (80) answers certificate challenges and redirects.
|
|
PUBLIC_BIND_ADDRESS=0.0.0.0
|
|
HTTP_PUBLIC_PORT=80
|
|
HTTPS_PUBLIC_PORT=443
|
|
POSTGRES_PUBLIC_PORT=5432
|
|
CONSOLE_PUBLIC_PORT=9443
|
|
PGADMIN_PUBLIC_PORT=5443
|
|
|
|
POSTGRES_DB=humainflow
|
|
POSTGRES_USER=humainflow
|
|
POSTGRES_PASSWORD=replace-with-a-long-random-password
|
|
|
|
# MinIO requires at least 3 characters for the user and 8 for the password;
|
|
# use substantially longer random values in production.
|
|
MINIO_ROOT_USER=humainflow-admin
|
|
MINIO_ROOT_PASSWORD=replace-with-an-independent-long-random-password
|
|
|
|
# Initial pgAdmin administrator. These values are used only when the
|
|
# pgadmin-data volume is created for the first time.
|
|
PGADMIN_DEFAULT_EMAIL=admin@example.com
|
|
PGADMIN_DEFAULT_PASSWORD=replace-with-a-third-independent-random-password
|
|
|
|
# Optional image override. Keep the same major version when upgrading an existing volume.
|
|
POSTGRES_IMAGE=postgres:17.11-alpine
|
|
|
|
# The other two images are pinned in docker-compose.yml to the versions their Dockerfiles build,
|
|
# and pulled from Docker Hub (luciolelii/minio, luciolelii/caddy-l4). Override only to test another:
|
|
# MINIO_IMAGE=luciolelii/minio:RELEASE.2025-10-15T17-29-55Z
|
|
# CADDY_IMAGE=luciolelii/caddy-l4:2.11.4-l4-v0.1.2
|
|
|
|
# Where the two big data sets live. Leave both unset to keep them in Docker volumes, under
|
|
# /var/lib/docker. To use a larger disk, give an absolute path to a directory ON it - a
|
|
# subdirectory, never the mount point itself, which on ext4 holds lost+found and makes PostgreSQL
|
|
# refuse to start. Create the directories and set their owner first; see "Storing the data on
|
|
# another disk" in the README. Only the path goes in the value:
|
|
# POSTGRES_DATA_PATH=/mnt/bigdisk/postgres
|
|
# MINIO_DATA_PATH=/mnt/bigdisk/minio
|
|
# The owner is set on the host directory, by number, because that is what the container's user
|
|
# is: the user inside the container, not whoever runs docker.
|
|
# sudo chown 70:70 /mnt/bigdisk/postgres && sudo chmod 700 /mnt/bigdisk/postgres
|
|
# sudo chown 1000:1000 /mnt/bigdisk/minio
|
|
POSTGRES_DATA_PATH=
|
|
MINIO_DATA_PATH=
|