feat: setup CI/CD with Gitea Actions for dev, int, and prod environments

This commit is contained in:
2026-01-29 16:47:18 +01:00
parent c365b4fa6b
commit 6715d1f75e
69 changed files with 4240 additions and 0 deletions

15
deploy/envs/dev.env Normal file
View File

@@ -0,0 +1,15 @@
REGISTRY_URL=git.joekung.ch
REPO_OWNER=JoeKung
ENV=dev
TAG=dev
# Ports
BACKEND_PORT=18002
FRONTEND_PORT=18082
# Application Config
FILAMENT_COST_PER_KG=22.0
MACHINE_COST_PER_HOUR=2.50
ENERGY_COST_PER_KWH=0.30
PRINTER_POWER_WATTS=150
MARKUP_PERCENT=20

15
deploy/envs/int.env Normal file
View File

@@ -0,0 +1,15 @@
REGISTRY_URL=git.joekung.ch
REPO_OWNER=JoeKung
ENV=int
TAG=int
# Ports
BACKEND_PORT=18001
FRONTEND_PORT=18081
# Application Config
FILAMENT_COST_PER_KG=22.0
MACHINE_COST_PER_HOUR=2.50
ENERGY_COST_PER_KWH=0.30
PRINTER_POWER_WATTS=150
MARKUP_PERCENT=20

15
deploy/envs/prod.env Normal file
View File

@@ -0,0 +1,15 @@
REGISTRY_URL=git.joekung.ch
REPO_OWNER=JoeKung
ENV=prod
TAG=prod
# Ports
BACKEND_PORT=8000
FRONTEND_PORT=80
# Application Config
FILAMENT_COST_PER_KG=22.0
MACHINE_COST_PER_HOUR=2.50
ENERGY_COST_PER_KWH=0.30
PRINTER_POWER_WATTS=150
MARKUP_PERCENT=20