Librephotos on Synology DSM with Docker Problem with PostGres

From: Preston Zimmerer <prestonzimmerer56(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Librephotos on Synology DSM with Docker Problem with PostGres
Date: 2022-12-01 06:58:24
Message-ID: CA+tGrB_Ae0Ug=1Np7p8s3H5uQqtzgco2YkpdMhjdtLY=h8ZGRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello, looking for some help.

I am trying to put Librephotos on my NAS that's running DSM using Docker
but I'm getting this error on the postgres image/container
I have the "librephotos-docker-main" folder placed into the docker folder
on my host machine, and I tried creating a directory "db" in the docker
folder as well. That didn't work.

Does anyone know where this directory should be and why it's not putting it
in place on its own?
[image: image.png]
Here is that container section of the "docker-compose.yml" also

db:
image: postgres:13
container_name: db
restart: unless-stopped
environment:
- POSTGRES_USER=${dbUser}
- POSTGRES_PASSWORD=${dbPass}
- POSTGRES_DB=${dbName}
volumes:
- ${data}/db:/var/lib/postgresql/data
command: postgres -c fsync=off -c synchronous_commit=off -c
full_page_writes=off -c random_page_cost=1.0
#Checking health of Postgres db
healthcheck:
test: psql -U ${dbUser} -d ${dbName} -c "SELECT 1;"
interval: 5s
timeout: 5s
retries: 5

Browse pgsql-general by date

  From Date Subject
Next Message Amitabh Kant 2022-12-01 07:44:20 Re: Finding free time period on non-continous tstzrange field values
Previous Message Ron 2022-12-01 01:51:31 Re: postgres large database backup