-
Notifications
You must be signed in to change notification settings - Fork 11
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
Removes unused code, updates dependencies, new README, and other items #86
Open
arosenkranz
wants to merge
13
commits into
main
Choose a base branch
from
TRAIN-2525
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
3cae157
updates trace libraries for ruby/python services
arosenkranz 6cc5d14
removes unused services/components, adds custom pptr
arosenkranz a89f65e
renames backend service, db, and sets to prod
arosenkranz 904a778
adjusts ports and cleanup
arosenkranz 002b659
lots of cleanup, new env template
arosenkranz 272e448
updates README and some cleanup
arosenkranz 2404776
updates README
arosenkranz b1c2814
updates readmes
arosenkranz 02329fe
updates ecs readme with note
arosenkranz 89695b0
merges in main, resolves conflict
arosenkranz b76dbf2
fixes fallback api url values in frontend
arosenkranz cd627d8
updates tracer configurations
arosenkranz ad70706
removes backend middleware
arosenkranz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,48 @@ | ||
ADS_PORT=3030 | ||
DISCOUNTS_PORT=2814 | ||
AUTH_PORT=7578 | ||
DBM_PORT=7595 | ||
DD_API_KEY= | ||
DD_APP_KEY= | ||
# this is used specifically for datadog-ci | ||
DATADOG_API_KEY= | ||
DD_ENV=storedog-local | ||
DD_HOSTNAME=storedog-local-host | ||
|
||
# for puppeteer | ||
STOREDOG_URL=http://nginx:80 | ||
|
||
# for spree, discounts, ads-python (if used), and dbm (if used) | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
DD_API_KEY= | ||
ATTACK_SSH=0 | ||
ATTACK_GOBUSTER=0 | ||
ATTACK_HYDRA=0 | ||
ATTACK_HOST=nginx | ||
ATTACK_PORT=80 | ||
ATTACK_SSH_INTERVAL=0 | ||
ATTACK_GOBUSTER_INTERVAL=0 | ||
ATTACK_HYDRA_INTERVAL=0 | ||
|
||
# set versions of specific services (these are used in the `docker-compose.yml` file) | ||
DD_VERSION_FRONTEND=1.0.0 | ||
# use for worker service too, since they use the same image | ||
DD_VERSION_BACKEND=1.0.0 | ||
DD_VERSION_DBM=1.0.0 | ||
DD_VERSION_ADS=1.0.0 | ||
DD_VERSION_DISCOUNTS=1.0.0 | ||
|
||
# NEXT_PUBLIC_* are exposed to the web browser and the server # | ||
# FOR INSTRUQT: replace all localhost with the instruqt urls | ||
NEXT_PUBLIC_SPREE_API_HOST=http://web:4000 | ||
NEXT_PUBLIC_SPREE_CLIENT_HOST=http://localhost:4000 | ||
NEXT_PUBLIC_SPREE_IMAGE_HOST=http://localhost:4000 | ||
NEXT_PUBLIC_SPREE_ALLOWED_IMAGE_DOMAIN=localhost | ||
NEXT_PUBLIC_FRONTEND_URL=http://frontend:3000 | ||
# for local development (on localhost) | ||
NEXT_PUBLIC_ADS_PORT=3030 | ||
NEXT_PUBLIC_DISCOUNTS_PORT=2814 | ||
NEXT_PUBLIC_ADS_ROUTE="http://localhost" | ||
NEXT_PUBLIC_DISCOUNTS_ROUTE="http://localhost" | ||
# for labs/public use | ||
NEXT_PUBLIC_ADS_URL_FULL="http://localhost:3030" | ||
NEXT_PUBLIC_DISCOUNTS_URL_FULL="http://localhost:2814" | ||
|
||
NEXT_PUBLIC_DD_APPLICATION_ID="" | ||
NEXT_PUBLIC_DD_CLIENT_TOKEN="" | ||
NEXT_PUBLIC_DD_SITE="datadoghq.com" | ||
NEXT_PUBLIC_DD_SERVICE="frontend" | ||
NEXT_PUBLIC_DD_VERSION="1.0.0" | ||
NEXT_PUBLIC_DD_ENV="development" | ||
NEXT_PUBLIC_AUTH_ROUTE="http://localhost" | ||
NEXT_PUBLIC_AUTH_PORT="7578" | ||
NEXT_PUBLIC_DBM_ROUTE="http://localhost" | ||
NEXT_PUBLIC_DBM_PORT="7595" | ||
# these are also used in `docker-compose.yml` | ||
|
||
# used in server-side fetch calls in frontend service, note the use of full domains | ||
NEXT_PUBLIC_FRONTEND_API_ROUTE=http://nginx:80 | ||
NEXT_PUBLIC_SPREE_API_HOST=http://nginx/services/backend | ||
|
||
# for all client-side spree fetch calls from frontend service | ||
NEXT_PUBLIC_SPREE_CLIENT_HOST=/services/backend | ||
NEXT_PUBLIC_SPREE_IMAGE_HOST=/services/backend | ||
# configured in the next.config.js file to allow for image loading from the spree service | ||
NEXT_PUBLIC_SPREE_ALLOWED_IMAGE_DOMAIN=nginx | ||
|
||
# called in client-side fetch calls from frontend service (no need to include the domain) | ||
NEXT_PUBLIC_ADS_ROUTE=/services/ads | ||
NEXT_PUBLIC_DISCOUNTS_ROUTE=/services/discounts | ||
NEXT_PUBLIC_DBM_ROUTE=/services/dbm | ||
|
||
# used in frontend service app.tsx file for RUM config | ||
NEXT_PUBLIC_DD_APPLICATION_ID= | ||
NEXT_PUBLIC_DD_CLIENT_TOKEN= | ||
NEXT_PUBLIC_DD_SITE=datadoghq.com | ||
NEXT_PUBLIC_DD_SERVICE=store-frontend | ||
# keep this in step with the DD_VERSION_FRONTEND identified above | ||
NEXT_PUBLIC_DD_VERSION=1.0.0 | ||
NEXT_PUBLIC_DD_ENV=storedog-local |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is specifically for the CI tool, right? If so, can we just add a comment about that?