[Bug]: Magic environment variables don't generate passwords #4646
Open
Description
opened on Dec 22, 2024
Error Message and Logs
Steps to Reproduce
- Add docker-compose.yaml with magic environment variables
services:
miniflux:
image: "miniflux/miniflux:latest"
expose:
- "8080"
depends_on:
db:
condition: service_healthy
environment:
- "DATABASE_URL=postgres://miniflux:${SERVICE_PASSWORD_DB}@db/miniflux?sslmode=disable"
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=${SERVICE_PASSWORD_MINIFLUX}
db:
image: "postgres:17-alpine"
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_DB}
- POSTGRES_DB=miniflux
volumes:
- "miniflux-db:/var/lib/postgresql/data"
volumes:
miniflux-db:
- Expect environment variables to be filled with a random password like documented in https://coolify.io/docs/knowledge-base/docker/compose#coolifys-magic-environment-variables
- Variables are empty, the database doesn't start
Example Repository URL
No response
Coolify Version
v4.0.0-beta.379
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.1 LTS
Additional Information
I'm using the image provided by Hetzner in a cax21 server (arm64)
Activity