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

Environment vailables are not reflected on config.php #7

Open
naotaco opened this issue Jul 8, 2015 · 1 comment
Open

Environment vailables are not reflected on config.php #7

naotaco opened this issue Jul 8, 2015 · 1 comment

Comments

@naotaco
Copy link

naotaco commented Jul 8, 2015

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.

@stevepet
Copy link

Was there ever a resolution to this? I see similar problems where the config.php file in my config volume is not being used by the container. No matter what trusted domains I add to it, it will not get past the warning page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants