Update api url of ipify
This commit is contained in:
parent
0f7affda8d
commit
fe3dd1e208
@ -5,72 +5,83 @@ app:
|
|||||||
name: ipify
|
name: ipify
|
||||||
version: "1.0.0"
|
version: "1.0.0"
|
||||||
description: "IP Subnet Calculator with React + Vite frontend and FastAPI backend"
|
description: "IP Subnet Calculator with React + Vite frontend and FastAPI backend"
|
||||||
|
|
||||||
# Backend configuration
|
# Backend configuration
|
||||||
backend:
|
backend:
|
||||||
port: 8000
|
name: ipify-backend
|
||||||
host: "0.0.0.0"
|
replicaCount: 1
|
||||||
apiUrl: "http://localhost:8000"
|
|
||||||
cors:
|
|
||||||
enabled: true
|
|
||||||
origins:
|
|
||||||
- "http://localhost:3000"
|
|
||||||
- "http://localhost:5173"
|
|
||||||
image:
|
image:
|
||||||
repository: harbor.dvirlabs.com/my-apps/ipify-backend
|
repository: harbor.dvirlabs.com/my-apps/ipify-backend
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
tag: master-894b429
|
tag: master-894b429
|
||||||
# Frontend configuration
|
service:
|
||||||
frontend:
|
type: ClusterIP
|
||||||
port: 3000
|
port: 8000
|
||||||
apiUrl: "http://localhost:8000"
|
targetPort: 8000
|
||||||
image:
|
|
||||||
repository: harbor.dvirlabs.com/my-apps/ipify-frontend
|
|
||||||
pullPolicy: Always
|
|
||||||
tag: master-67d217c
|
|
||||||
# Development settings
|
|
||||||
development:
|
|
||||||
hotReload: true
|
|
||||||
debug: true
|
|
||||||
# Production settings
|
|
||||||
production:
|
|
||||||
debug: false
|
|
||||||
minify: true
|
|
||||||
# Docker configuration
|
|
||||||
docker:
|
|
||||||
backend:
|
|
||||||
image: "ipify-backend"
|
|
||||||
tag: "latest"
|
|
||||||
frontend:
|
|
||||||
image: "ipify-frontend"
|
|
||||||
tag: "latest"
|
|
||||||
# Kubernetes/Helm configuration (for helm chart)
|
|
||||||
kubernetes:
|
|
||||||
namespace: "my-apps"
|
|
||||||
replicas:
|
|
||||||
backend: 1
|
|
||||||
frontend: 1
|
|
||||||
resources:
|
resources:
|
||||||
backend:
|
|
||||||
limits:
|
limits:
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
requests:
|
requests:
|
||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: "traefik"
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
hosts:
|
||||||
|
- host: api-ipify.dvirlabs.com
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- secretName: api-ipify-tls
|
||||||
|
hosts:
|
||||||
|
- api-ipify.dvirlabs.com
|
||||||
|
|
||||||
|
# Frontend configuration
|
||||||
frontend:
|
frontend:
|
||||||
|
name: ipify-frontend
|
||||||
|
replicaCount: 1
|
||||||
|
image:
|
||||||
|
repository: harbor.dvirlabs.com/my-apps/ipify-frontend
|
||||||
|
pullPolicy: Always
|
||||||
|
tag: master-67d217c
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "200m"
|
cpu: "200m"
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
requests:
|
requests:
|
||||||
cpu: "100m"
|
cpu: "100m"
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: "traefik"
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
hosts:
|
||||||
|
- host: ipify.dvirlabs.com
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- secretName: ipify-tls
|
||||||
|
hosts:
|
||||||
|
- ipify.dvirlabs.com
|
||||||
|
|
||||||
# Environment variables
|
# Environment variables
|
||||||
env:
|
env:
|
||||||
backendUrl: "https://api-ipify.dvirlabs.com"
|
backendUrl: "https://api-ipify.dvirlabs.com"
|
||||||
# Ingress configuration
|
|
||||||
|
# Ingress configuration (kept for compatibility)
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
host: "ipify.example.com"
|
|
||||||
tls:
|
|
||||||
enabled: false
|
|
||||||
secretName: "ipify-tls"
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user