Skip to content

Add proper startup environment option for siteurl #252

Closed
@ghost

Description

Please add a proper startup environment option to override wordpress' siteurl & home url settings.

We just experienced quite some lost time on an annoyance where we wanted to duplicate an instance under a different url and for that we had to dive into the database to change wp_options (fields siteurl & home) because the duplicated instance would instantly redirect us back and there is no environment option to just specify the proper site URL directly when launching the container.

A huge advantage of docker & docker-compose is being able to have a nice folder with all service data & volumes in it and to be able to easily copy it, just do a one-line change in the docker-compose.yml and have it running somewhere else under a different address - and having no proper environment override for the site url breaks that workflow pretty bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions