77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
# Basic configuration values for IP Calculator application
|
|
|
|
# Application metadata
|
|
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"
|
|
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-894b429
|
|
# 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:
|
|
backend:
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "512Mi"
|
|
requests:
|
|
cpu: "250m"
|
|
memory: "256Mi"
|
|
frontend:
|
|
limits:
|
|
cpu: "200m"
|
|
memory: "256Mi"
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
# Environment variables
|
|
env:
|
|
backendUrl: "https://api-ipify.dvirlabs.com"
|
|
# Ingress configuration
|
|
ingress:
|
|
enabled: false
|
|
host: "ipify.example.com"
|
|
tls:
|
|
enabled: false
|
|
secretName: "ipify-tls"
|