my-recipes/aws/values.yaml
2026-01-05 20:03:27 +02:00

98 lines
2.8 KiB
YAML

# Project-specific values for AWS EKS deployment
# This file overrides the base values in my-recipes-chart/values.yaml
global:
namespace: my-apps
# Backend configuration
backend:
replicaCount: 2
image:
repository: <YOUR_ECR_REPOSITORY>/my-recipes-backend # Update with your ECR repository
tag: "latest"
ingress:
className: "alb"
hosts:
- host: api-my-recipes.aws-dvirlabs.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: api-my-recipes-tls
hosts:
- api-my-recipes.aws-dvirlabs.com
# Frontend configuration
frontend:
replicaCount: 2
image:
repository: <YOUR_ECR_REPOSITORY>/my-recipes-frontend # Update with your ECR repository
tag: "latest"
env:
API_BASE: "https://api-my-recipes.aws-dvirlabs.com"
ingress:
className: "alb"
hosts:
- host: my-recipes.aws-dvirlabs.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: my-recipes-tls
hosts:
- my-recipes.aws-dvirlabs.com
externalUrl: "https://my-recipes.aws-dvirlabs.com"
# PostgreSQL configuration
postgres:
# For AWS RDS, set this to use external database
# Leave enabled: true to use in-cluster database
enabled: false # Set to false if using RDS
# If using RDS, these values are ignored but kept for reference
persistence:
storageClass: "gp3" # EKS default storage class
size: 20Gi
# OAuth Configuration
oauth:
google:
clientId: "143092846986-hsi59m0on2c9rb5qrdoejfceieao2ioc.apps.googleusercontent.com"
clientSecret: "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"
redirectUri: "https://api-my-recipes.aws-dvirlabs.com/auth/google/callback"
azure:
clientId: "db244cf5-eb11-4738-a2ea-5b0716c9ec0a"
clientSecret: "Zad8Q~qRBxaQq8up0lLXAq4pHzrVM2JFGFJhHaDp"
tenantId: "consumers"
redirectUri: "https://api-my-recipes.aws-dvirlabs.com/auth/azure/callback"
# Email Configuration
email:
smtpHost: "smtp.gmail.com"
smtpPort: "587"
smtpUser: "dvirlabs@gmail.com"
smtpPassword: "agaanrhbbazbdytv"
smtpFrom: "dvirlabs@gmail.com"
# S3 Backup Configuration for AWS
s3:
endpoint: "https://s3.eu-central-1.amazonaws.com" # Update with your region
accessKey: "AKIAXXXXXXXXXXXXXXXX" # Replace with your AWS Access Key
secretKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # Replace with your AWS Secret Key
bucketName: "my-recipes-backups" # Update with your S3 bucket name
region: "eu-central-1" # Update with your region
backupInterval: "weekly"
# Database connection for AWS RDS (used when postgres.enabled: false)
database:
host: "my-recipes-rds.chw4omcguqv7.eu-central-1.rds.amazonaws.com"
port: "5432"
name: "recipes_db"
user: "recipes_user"
password: "recipes_password" # Store securely in AWS Secrets Manager in production