-
-
Notifications
You must be signed in to change notification settings - Fork 124
Description
Describe the bug
if I look in the portainer logs of my postgres container I get the following error:
´FATAL: database "splitpro" does not exist´
but everything still works.
This error is not new ( at least a week old
To Reproduce
Steps to reproduce the behavior:
- Go to your docker postgress logs
Expected behavior
should only show errors if something is wrong
Screenshots
App version
v1.5.1
Additional context
compose:
postgres:
container_name: splitpro-postgres
image: postgres:16
restart: unless-stopped
volumes:
- path/splitpro/database:/var/lib/postgresql/data
env_file:
- .env
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER}']
interval: 10s
timeout: 5s
retries: 5
.env:
postgres
POSTGRES_USER=splitpro
POSTGRES_PASSWORD=password
POSTGRES_DB=splitprodb
POSTGRES_PORT=5432
DATABASE_URL=postgresql://splitpro:password@postgres:5432/splitprodb