This file contains hidden or 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
| # The base image will be used by additional layers | |
| # Only add tools, libraries, etc that will be | |
| # useful in all of the images. | |
| # This is the base layer for the Production Image | |
| ARG hit_master_registry="066561413325.dkr.ecr.us-east-2.amazonaws.com" | |
| FROM ubuntu:22.04 AS baseimage | |
| # Install the packages we'll need in all images | |
| RUN DEBIAN_FRONTEND=noninteractive \ |
This file contains hidden or 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
| services: | |
| # Celery worker | |
| worker: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| environment: | |
| - CELERY_BROKER_URL=amqps://bhiunjoe:[email protected]/bhiunjoe | |
| - CELERY_LOG_LEVEL=INFO | |
| - CELERY_QUEUES=quote-parser-ai |
This file contains hidden or 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
| const express = require("express"); | |
| const { createProxyMiddleware } = require("http-proxy-middleware"); | |
| // app definition | |
| const app = express(); | |
| // laod cors in the dev environment | |
| const cors = require("cors"); | |
| app.use(cors()); |
This file contains hidden or 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
| { | |
| "success": true, | |
| "credits_left": 99, | |
| "rate_limit_left": 99, | |
| "person": { | |
| "publicIdentifier": "kannanhassouna", | |
| "linkedInIdentifier": "ACoAACcH_-sBuKrALGKcbw28Au2HjupLOgjsu2A", | |
| "memberIdentifier": "654835691", | |
| "linkedInUrl": "https://www.linkedin.com/in/kannanhassouna", | |
| "firstName": "Kanna'n", |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title> my first gist </title> | |
| </head> | |
| <body> | |
| <h1> Hello World This Is My First Gist </h1> | |
| </body> | |
| </html> |