Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default scenario not correctly setting redis, pgsql database passwords #38

Open
ctorgalson opened this issue Aug 16, 2020 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@ctorgalson
Copy link
Owner

ctorgalson commented Aug 16, 2020

Running php occ config:list --private shows different passwords than are specified in defaults/main.yml and in molecule/default/converge.yml.

@ctorgalson ctorgalson added the bug Something isn't working label Aug 16, 2020
@ctorgalson ctorgalson self-assigned this Aug 16, 2020
@ctorgalson
Copy link
Owner Author

Confirmed: also not correctly setting dbuser.

@ctorgalson
Copy link
Owner Author

ctorgalson commented Aug 17, 2020

I think what's going on here is this.

Whether by accident or by design, it looks like the nextcloud/docker README is just wrong when it says that environment variables work with docker-compose (whereas they appear to work well with a Dockerfile).

This means that the only real use for NEXTCLOUD_* environment variables in this role would be to use them in the php occ maintenance:install command. But this is hardly necessary since we can pass them as Ansible variables, and since adding all of them in makes the generated docker-compose.yml more complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant