Update api url of ipify

This commit is contained in:
dvirlabs 2025-12-23 21:37:33 +02:00
parent 0f7affda8d
commit fe3dd1e208

View File

@ -5,72 +5,83 @@ app:
name: ipify
version: "1.0.0"
description: "IP Subnet Calculator with React + Vite frontend and FastAPI backend"
# Backend configuration
backend:
port: 8000
host: "0.0.0.0"
apiUrl: "http://localhost:8000"
cors:
enabled: true
origins:
- "http://localhost:3000"
- "http://localhost:5173"
name: ipify-backend
replicaCount: 1
image:
repository: harbor.dvirlabs.com/my-apps/ipify-backend
pullPolicy: Always
tag: master-894b429
# Frontend configuration
frontend:
port: 3000
apiUrl: "http://localhost: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
service:
type: ClusterIP
port: 8000
targetPort: 8000
resources:
backend:
limits:
cpu: "500m"
memory: "512Mi"
requests:
cpu: "250m"
memory: "256Mi"
frontend:
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:
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:
cpu: "200m"
memory: "256Mi"
requests:
cpu: "100m"
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
env:
backendUrl: "https://api-ipify.dvirlabs.com"
# Ingress configuration
# Ingress configuration (kept for compatibility)
ingress:
enabled: false
host: "ipify.example.com"
tls:
enabled: false
secretName: "ipify-tls"