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

persist the admin password #11

Open
mlnzigzag opened this issue Jan 12, 2024 · 1 comment
Open

persist the admin password #11

mlnzigzag opened this issue Jan 12, 2024 · 1 comment

Comments

@mlnzigzag
Copy link

I added persistance to the mysql database by modifing row 15 of the docker-compose.yml:

- ./mysqldata:/var/lib/mysql

But still when I destroy and rebuild the containers the admin password is empty and the default language is reset to English. Is it possible to set those values via environment variables or to let it persist in any other way?

@emhl
Copy link

emhl commented Feb 8, 2024

you should add a persistent volume to the web container at /var/www/html/data there those (and other) settings are saved and not in the database

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

No branches or pull requests

2 participants