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

Feature/infra setup #17

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Conversation

GeorgeCodes19
Copy link
Collaborator

Ticket

Changes

  • The Nava infra-template repo has been installed and utilize to deploy this application to a public development environment on AWS
  • Document rotation and optmizations pertaining to the Tessaract worker have been made to drastically decrease the amount of time needed for OCR

Copy link
Contributor

@tdooner tdooner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and mergeable as-is, all things considered. I might recommend merging this via squashing it into a single commit so that we don't get a much larger git repo from the addition and removal of all those .next and node_modules files.

app/Dockerfile Outdated
ARG RUN_UID
ARG RUN_USER
ARG RUN_UID=${UID:-4000}
ARG RUN_USER=${USER:-'nodummy'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find any documentation that this syntax is supported here. Does it work?

"outputs": {},
"resources": [],
"check_results": null
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file shouldn't exist since the terraform state is stored in S3, right? We certainly don't want to commit the state here by accident.

# size = 100, # Size in MiB
# mountOptions = ["defaults"]
# }
# ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, we should remove code rather than commenting it out.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to add node_modules and .next to .gitignore so they aren't accidentally included again.

@@ -20,7 +20,7 @@ locals {
# If enabled, the networks associated with this application's environments
# will have NAT gateways, which allows the service in the private subnet to
# make calls to the internet.
has_external_non_aws_service = false
has_external_non_aws_service = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might cost us $30/month per NAT gateway. I will log into AWS to see what they're projecting this thing to cost.

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

Successfully merging this pull request may close these issues.

3 participants