Fix conditional block for PostgreSQL environment variables in Mealie container
This commit is contained in:
parent
a5402e4fff
commit
4ba2d1432b
1 changed files with 2 additions and 0 deletions
|
@ -12,11 +12,13 @@ services:
|
|||
ALLOW_SIGNUP: "${MEALIE_ALLOW_SIGNUP}"
|
||||
LOG_LEVEL: "${MEALIE_LOGLEVEL}"
|
||||
DB_ENGINE: ${MEALIE_DBENGINE} # Optional: 'sqlite', 'postgres'
|
||||
{% if container_mealie_dbengine == "sqlite" %}
|
||||
POSTGRES_USER: ${MEALIE_DB_USER}
|
||||
POSTGRES_PASSWORD: ${MEALIE_DB_PASSWORD}
|
||||
POSTGRES_SERVER: postgres
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_DB: ${MEALIE_DB_NAME}
|
||||
{% endif %}
|
||||
SMTP_HOST=${MEALIE_SMTP_HOST}
|
||||
SMTP_PORT=${MEALIE_SMTP_PORT}
|
||||
SMTP_FROM_NAME=${MEALIE_SMTP_FROM_MAIL}
|
||||
|
|
Loading…
Add table
Reference in a new issue