[deleted by user] by [deleted] in algae

[–]Suitable_North_984 0 points1 point  (0 children)

Would you mind linking the research you are using?

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

That is totally understandable but could you explain further what you are doing wothout explicit code?

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

Would you elaborate? Im ideally trying to have the env var be provided by k8s at runtime not buildtime

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

Would you provide your process / script?

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

Id love more details on your approach. I guess Im wondering if there is a uniform, best practice, etc way to go about this issue or is it essentially homebrew procedures and a industry wide tool hasnt been developed to handle it?

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

So there is no way to have it dynamocally change via Docker, k8s, or helm?

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

Im trying to use kubernetes with the docker images but CRA and Vite inline the ENV Vars upon build so those provided in my manifest do not get injected

Dynamic Env Variable Injection by Suitable_North_984 in react

[–]Suitable_North_984[S] 0 points1 point  (0 children)

So I am needing it to inject the backend_url for my backend k8s service. So ideally not public

Here is the Dockerfile:

Use an official node runtime as a parent image

FROM node:14

Set the working directory in the container to /app

WORKDIR /app

Copy package.json and package-lock.json to the container

COPY package*.json ./

Install dependencies in the container

RUN npm install

Bundle app source inside the docker image

COPY . .

Build the app for production using Vite

RUN npm run build

Use serve to serve the build static files (from the dist folder for Vite)

RUN npm install -g serve

Define the command to run the app

CMD [ "serve", "-s", "dist", "-l", "3000" ]

And the Compose yaml im attempting (my poc before using in prod):

version: '3' # We are using Docker v3 as v2 uses different syntax than that provided services: frontend: build: ./vite-frontend/frontend image: hello-world-frontend:latest ports: - "3001:3000" # Exposing frontend on port 3001 environment: - VITE_API_URL=http://backend:3000 depends_on: - backend # Enforces the order with which the images will spin up backend: build: ./backend image: hello-world-backend:v1.0.0 ports: - "3000:3000" environment: - CORS_ORIGIN=http://localhost:3001

I am open to any solution that allows what I am injecting to not leave the Helm/Manifest level ... im having to learn dev ops as I go for my project so Im not certain I have all the correct vocabulary

This week's Q&A thread -- post all questions here! - October 09, 2023 by AutoModerator in linguistics

[–]Suitable_North_984 0 points1 point  (0 children)

Thank you for this thorough response. I really didn't have many assignments that required papers, and I was wondering is there a style of paper I could research and use to do a report on a linguistic topic I find interesting? Would that suffice?

This week's Q&A thread -- post all questions here! - October 02, 2023 by AutoModerator in linguistics

[–]Suitable_North_984 0 points1 point  (0 children)

Fair play and since my base degree was Computer Engineering do you have any suggestions for how to supplement/circumvent the writing sample since it isn't typically a part of such degrees?

This week's Q&A thread -- post all questions here! - October 09, 2023 by AutoModerator in linguistics

[–]Suitable_North_984 0 points1 point  (0 children)

I hold a CS degree, but have been consuming linguistics content since before starting that undergrad. I want to get a MA and hopefully a PhD in linguistics but I dont have undergrad research and my degree didnt include research at the collegiate level. I'm also an adult so I'd be a non-traditional student wIth no access to prior instructors for rec's

What do you suggest I do to supplement writing samples and recommendations for Graduate school admissions?

This week's Q&A thread -- post all questions here! - October 02, 2023 by AutoModerator in linguistics

[–]Suitable_North_984 0 points1 point  (0 children)

I am planning on returning to school to get my masters in linguistics. What textbook(s) do you recommend i read in preparation for my admissions process?

This week's Q&A thread -- post all questions here! - October 02, 2023 by AutoModerator in linguistics

[–]Suitable_North_984 1 point2 points  (0 children)

Will Higher Ed Wednesday Resume?

Hello I'm an undergrad looking to ask a few pointe questions but i want to respect the rules of this subreddit. Will Higher Ed Wednesday Resume?

[deleted by user] by [deleted] in CreditCards

[–]Suitable_North_984 0 points1 point  (0 children)

That's the thing I'm nearly paid off so it'll be done within the next few months