-
-
Notifications
You must be signed in to change notification settings - Fork 953
Description
First Check
- This is not a feature request.
- I added a very descriptive title to this issue (title field is above this).
- I used the GitHub search to find a similar issue and didn't find it.
- I searched the Mealie documentation, with the integrated search.
- I already read the docs and didn't find an answer.
- This issue can be replicated on the demo site (https://demo.mealie.io/).
What is the issue you are experiencing?
Using the following docker compose file
`version: '3.7'
services:
mealie:
image: ghcr.io/mealie-recipes/mealie:v3.0.2
container_name: mealie
restart: always
ports:
- "9925:9000"
volumes:
- /mnt/torrent/mealie/data:/app/data/
environment:
# Set Backend ENV Variables Here
ALLOW_SIGNUP: "false"
PUID: 1000
PGID: 1000
TZ: America/Indianapolis
BASE_URL: https://recipes.mydomain.co
# Database Settings
DB_ENGINE: postgres
POSTGRES_USER: ${MEALIE_POSTGRES_USER}
POSTGRES_PASSWORD: ${MEALIE_POSTGRES_PASS}
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
depends_on:
- postgres
postgres:
container_name: postgres_mealie
image: postgres:15
restart: always
volumes:
- /mnt/torrent/mealie/pgdata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${MEALIE_POSTGRES_PASS}
POSTGRES_USER: ${MEALIE_POSTGRES_USER}
PGUSER: ${MEALIE_POSTGRES_USER}
healthcheck:
test: ["CMD", "pg_isready"]
interval: 30s
timeout: 20s
retries: 3`
with the .env file saying anything but
MEALIE_POSTGRES_USER=mealie MEALIE_POSTGRES_PASS=mealie
will cause the database to not find the database mealie. This is on a fresh install
Steps to Reproduce
- Attempt to use docker compose with the above compose file and the above .env file changed in any way (add a number to the end of the username and password)
Please provide relevant logs
Mealie Version
No response
Deployment
Docker (Linux)
Additional Deployment Details
docker-compose