-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add support for development environment with docker #659
Conversation
anarute
commented
Aug 16, 2023
•
edited
Loading
edited
- Add images for all 3 apps: current phpreport app, react front end and the new API.
- Add several minor fixes in other for the apps to work in this environment and the frontend work well after the refresh token logic was added
There should be no whitespace between the groups or they will be added in the group name.
Not every provider uses the same prop, so better to make this configurable.
After the refresh token logic was added, the access token is the one valid in the API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a nit (in the dev.app.Dockerfile) and some thoughts on additions to the docs for running with this new setup.
And one more general comment/question: In the dev docker compose, we are not setting up a volume for the database, which will be fine in a lot of cases, but I could see someone also wanting to persist data during development. Should we change the docker compose to have a volume for the data? Maybe commented out so that if someone wants to persist data, all they need to do is uncomment a couple things? If that's something we want to do, then we should also make note of it in the documentation.
By default the postgresql image already creates an anonymous volume, but that's a good point, I'll add it to make it more explicit, good catch! |
Add files for the 3 apps: phpreport legacy, the front end and the API. Also spawns a postgres container with initial data.
This way it can be accessible when running the app with docker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added one more suggestion to the developer docs regarding some environment variables. Everything else looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - thanks for all the additions to the docs!