Skip to content
This repository was archived by the owner on Nov 22, 2020. It is now read-only.
This repository was archived by the owner on Nov 22, 2020. It is now read-only.

Environment vailables are not reflected on config.php #7

@naotaco

Description

@naotaco

Hi,
Now I forked your dockerfile and customizing for my project, and facing difficult behavior.

I set some environment variables on docker run command, like:
docker run -e 'DB_USER=someuser' -d -p 8080:80 pschmitt/owncloud
After that, it seems the values are surely listed in autoconfig.php.
However, once I access to owncloud, config.php will be auto-generated without my variables and autoconfig.php is gone.
Do you have any idea to put some settings to config.php by docker run command (or editing dockerfile) ?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions