Skip to content

Commit

Permalink
Merge branch 'main' into country
Browse files Browse the repository at this point in the history
  • Loading branch information
apala7778 committed Jan 3, 2023
2 parents fa8446e + 9790fc9 commit 0ddc3df
Show file tree
Hide file tree
Showing 43 changed files with 12,104 additions and 11,544 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/codesee-arch-diagram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow was added by CodeSee. Learn more at https://codesee.io/
# This is v2.0 of this workflow file
on:
push:
branches:
- main
pull_request_target:
types: [opened, synchronize, reopened]

name: CodeSee

permissions: read-all

jobs:
codesee:
runs-on: ubuntu-latest
continue-on-error: true
name: Analyze the repo with CodeSee
steps:
- uses: Codesee-io/codesee-action@v2
with:
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*


2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /amazon-clone
COPY . .
RUN npm install
CMD ["npm", "start"]
EXPOSE 8001




34 changes: 34 additions & 0 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app: amazon-clone
ports:
- protocol: "TCP"
port: 6000
targetPort: 5000
type: LoadBalancer

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: amazon-clone
spec:
selector:
matchLabels:
app: amazon-clone
replicas: 1
template:
metadata:
labels:
app: amazon-clone
spec:
containers:
- name: amazon-clone
image: kanika26/my-images:myfirstpush
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5000
Loading

0 comments on commit 0ddc3df

Please sign in to comment.