Skip to content

Word press is not using default environment variables in docker container #631

@deekshith-elear

Description

@deekshith-elear

Hi,
I'm using WORDPRESS_DB_HOST to provide my database host name as a environmental variable to my wordpress docker container. In My oldversion of docker image which is an year old it is able to work properly. now I want to migrate to 5.8 and getting database connection error. If I hardcode data of host it is working. else it is not fetching data.

Can anyone help me to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions