Adds gitea configuration

This commit is contained in:
2026-03-29 05:34:40 -04:00
parent f73aa118ac
commit 2bb1dfa1e4
10 changed files with 656 additions and 209 deletions

View File

@@ -9,7 +9,7 @@ data:
RAILS_SERVE_STATIC_FILES: "true"
RAILS_MAX_THREADS: "5"
# Update these values for your environment
DATABASE_HOST: "postgres-service" # Your PostgreSQL service name or external host
DATABASE_HOST: "db.rbeowfzliacsawrziniv.supabase.co" # Your PostgreSQL service name or external host
DATABASE_PORT: "5432"
DATABASE_NAME: "turbovault_production"
DATABASE_USERNAME: "turbovault"
DATABASE_NAME: "postgres"
DATABASE_USERNAME: "postgres"

View File

@@ -28,10 +28,10 @@ spec:
- name: turbovault
# UPDATE THIS: Replace with your registry path
# Examples:
# - Gitea: gitea.kazcloud.dev/ryankazokas/turbovault-app:latest
# - GitHub Container Registry: ghcr.io/ryankazokas/turbovault-app:latest
# - Docker Hub: docker.io/username/turbovault:latest
# - Private registry: registry.example.com/turbovault:latest
image: ghcr.io/ryankazokas/turbovault-app:latest
image: gitea.kazcloud.dev/ryankazokas/turbovault-app:latest
imagePullPolicy: Always
ports:
- containerPort: 3000

View File

@@ -20,7 +20,7 @@ spec:
containers:
- name: migrate
# UPDATE THIS: Replace with your registry path (same as deployment.yaml)
image: ghcr.io/ryankazokas/turbovault-app:latest
image: gitea.kazcloud.dev/ryankazokas/turbovault-app:latest
command: ["bundle", "exec", "rails", "db:migrate"]
env:
# Load from ConfigMap