-
Notifications
You must be signed in to change notification settings - Fork 5
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
Set up containerized version of app #568
Comments
Resources |
Outstanding Questions
|
Nod.
Good question. My initial impulse is to use the dockerfile everywhere, just for consistency's sake. But I don't know how that works in the context of automation runners.
Are you talking about the reverse proxying that DO does under the hood? I'm sure someone has solved for this before.
The client should have no problem adapting to this strategy. I can do a bit of research on that. |
Using the docker container for tests makes intuitive sense to me—to replicate the environment. I'm not sure how much it really matters. |
A container for the API has been set up in the repository and integrated into data-sources-v2-dev, per the work done in #584 Still would need integration into production, however. |
One unexpected component of containerization is that we don't have direct access to the runtime logs generated within the container now. So we can't see logs of requests being made, which would put us at a disadvantage when it comes to diagnosing a problem. We'll want to figure out how to solve for that problem. I submitted a ticket for this to Digital Ocean support: (#10092070) |
@maxachis am I correct in interpreting this as the same as the log forwarding we set up in Digital Ocean? I'm sure other folks are sending logs to papertrail with our exact setup. https://www.papertrail.com/help/configuring-centralized-logging-from-docker/ |
Context
While running development, we run into some issues because often our hardware and setup does not perfectly mirror the setup we'll see when we deploy the app on Digital Ocean. The way to resolve that is to create a containerized version of the app, probably using Docker containers, which can provide a single source of truth for the operation of the app.
Requirements
Tests
Docs
Open questions
The text was updated successfully, but these errors were encountered: