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

[DOC] The need for a data base is NOT reflecting in any configuration. #672

Open
1 task done
vdveldet opened this issue Oct 3, 2023 · 3 comments
Open
1 task done
Assignees
Labels
documentation Improvements or additions to documentation need more info v2

Comments

@vdveldet
Copy link

vdveldet commented Oct 3, 2023

Description

When trying to upgrade to 1.5.x I see that in the docs https://docs.bunkerweb.io/1.5.0/migrating/
BunkerWeb configuration is no more stored in a plain file (located at /etc/nginx/variables.env if you didn't know it).

So for the migration do the new version we plan to setup a postgressql
But the examples section does not reflect those needed change as there is not database configured.
In the examples it looks like the database in 1.5.x is not a requirement.

Proposed solution (optional)

Create an example with a database or drop the documentation requirement of a database.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@vdveldet vdveldet added the documentation Improvements or additions to documentation label Oct 3, 2023
@TheophileDiot
Copy link
Member

Hi @vdveldet, thank you for opening this feature request. Indeed the database is sort of optional, as by default it will create a SQLite one at /var/lib/bunkerweb/db.sqlite3 and you don't have to provide one.

@fl0ppy-d1sk
Copy link
Member

Hello @vdveldet,

Your link refers to 1.5.0, we recommend to use the last one (1.5.2 ATM) : https://docs.bunkerweb.io/1.5.2/
Btw we also provide boilerplates for all integrations/databases in the misc/integrations folder, does that help ?

Do you any idea on how we could improve the documentation on that subject ?

cc @syrk4web

@vdveldet
Copy link
Author

vdveldet commented Oct 4, 2023

@fl0ppy-d1sk , indeed it is related to the DATABASE_URI as shown in the folders.
I have also seen this in the Kubernetes example here, but not in linux or docker-compose environment.
Since these environments are on 1 server, the need to have this setup is less, but I'm running bunkerweb as frontend loadbalancers in docker, there it could be usefull.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation need more info v2
Projects
None yet
Development

No branches or pull requests

4 participants