diff --git a/.env.example b/.env.example index c1e2cdf..6a46de1 100644 --- a/.env.example +++ b/.env.example @@ -37,8 +37,12 @@ POSTGRES_IMAGE=postgres:17.11-alpine # /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. -# POSTGRES_DATA_PATH=/mnt/bigdisk/postgres owner 70:70, mode 700 -# MINIO_DATA_PATH=/mnt/bigdisk/minio owner 1000:1000 +# 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=