Compare commits
2 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
9d280dd553 | |
|
|
1879dad5a5 |
|
|
@ -4,44 +4,35 @@ on: [push]
|
|||
jobs:
|
||||
build-backend:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_HOST: tcp://172.17.0.1:2375
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build and push Backend (Kaniko)
|
||||
run: |
|
||||
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
|
||||
echo "Using volumes from: $JOB_CONTAINER"
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
docker run --rm \
|
||||
--volumes-from "$JOB_CONTAINER" \
|
||||
gcr.io/kaniko-project/executor:latest \
|
||||
--context=dir:///workspace/deepkoluguri/chitfund/backend \
|
||||
--dockerfile=Dockerfile \
|
||||
--destination=192.168.8.250:5000/chitfund-backend:latest \
|
||||
--insecure \
|
||||
--skip-tls-verify
|
||||
- name: Build and push Backend
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./backend
|
||||
push: true
|
||||
tags: 192.168.8.250:5000/chitfund-backend:latest
|
||||
# Local registry is insecure
|
||||
labels: |
|
||||
org.opencontainers.image.source=${{ gitea.repository_url }}
|
||||
|
||||
build-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_HOST: tcp://172.17.0.1:2375
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build and push Frontend (Kaniko)
|
||||
run: |
|
||||
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
|
||||
echo "Using volumes from: $JOB_CONTAINER"
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
docker run --rm \
|
||||
--volumes-from "$JOB_CONTAINER" \
|
||||
gcr.io/kaniko-project/executor:latest \
|
||||
--context=dir:///workspace/deepkoluguri/chitfund/luckychit \
|
||||
--dockerfile=Dockerfile \
|
||||
--destination=192.168.8.250:5000/chitfund-frontend:latest \
|
||||
--insecure \
|
||||
--skip-tls-verify
|
||||
- name: Build and push Frontend
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./luckychit
|
||||
push: true
|
||||
tags: 192.168.8.250:5000/chitfund-frontend:latest
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
Your **FREE, zero-transaction-fee UPI payment system** is ready to use!
|
||||
|
||||
----
|
||||
---
|
||||
|
||||
## ✨ What You Have Now
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,12 @@ JWT_SECRET=2559a382d606e4209085401d693ae25f
|
|||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# CORS Configuration
|
||||
<<<<<<< HEAD
|
||||
ALLOWED_ORIGINS=http://localhost:8080,http://localhost:3000,https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com
|
||||
|
||||
=======
|
||||
ALLOWED_ORIGINS=https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com,http://localhost:8080,http://localhost:3000
|
||||
>>>>>>> main
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
|
|
|
|||
|
|
@ -18,12 +18,16 @@
|
|||
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
||||
<<<<<<< HEAD
|
||||
<meta name="description" content="Chitfund app to manage your chit funds.">
|
||||
|
||||
<!-- Prevent caching in production for updates -->
|
||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="0">
|
||||
=======
|
||||
<meta name="description" content="Chitfund Application">
|
||||
>>>>>>> main
|
||||
|
||||
<!-- iOS meta tags & icons -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
|
|
|||
Loading…
Reference in New Issue