mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
Feature/ssl integration (#1)
* feat: update E2E testing configuration to use ssl * fix: add IPv6 loopback support to mkcert generation command in CI workflow * feat: centralize SSL certificate generation into a reusable workflow job * fix: use static ip in mkcert command * fix: correct mkcert command args * feat: implement certificate caching in CI workflow to persist SSL files across jobs * refactor: optimize CI workflow caching * ci: implement certificate caching in workflow * fix: correct certificate caching keys and fix environment file paths in CI workflows * fix: correct environment file paths and parallelize frontend dependency installation in CI workflow * test: set TZ environment variable to Asia/Kolkata in vitest configuration * fix: force en-US locale in Intl formatters to ensure consistent date and time output * fix: update MAILPIT_API_URL protocol from https to http in e2e environment example * chore: set test timezone to Asia/Kolkata * ci: add sll support and enhance e2e workflow * ci: improve compatibility for docker-compose execution * refactor: improve container orchestration detection and fallback logic in e2e test script * feat: add container runtime validation and force docker usage in CI environment * feat: add caching for Playwright dependencies in CI workflow * chore: update restart policy to unless-stopped for postgres and mailpit services in e2e docker-compose --------- Co-authored-by: ramvignesh-b <ramvignesh-b@github.com>
This commit is contained in:
+21
-19
@@ -1,25 +1,27 @@
|
||||
# Pi Ku E2E Environment Configuration Template
|
||||
# DATABASE
|
||||
DB_NAME=piku_test_db
|
||||
DB_USER=test
|
||||
DB_PASSWORD=password123
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5433
|
||||
|
||||
# Database (Postgres)
|
||||
E2E_DB_NAME=piku_e2e_db
|
||||
E2E_DB_PORT=5433
|
||||
E2E_DB_USER=piku_test
|
||||
E2E_DB_PASS=piku_test
|
||||
E2E_DB_DB=piku_e2e
|
||||
# SSL
|
||||
SSL_ENABLED=false
|
||||
|
||||
# Backend (Django)
|
||||
E2E_BACKEND_PORT=8001
|
||||
SECRET_KEY=e2e-secret-key-for-piku-testing
|
||||
# DJANGO
|
||||
DEBUG=True
|
||||
ALLOWED_HOSTS=*
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5173
|
||||
FRONTEND_URL=http://localhost:5173
|
||||
EMAIL_HOST=localhost
|
||||
EMAIL_PORT=1025
|
||||
SECRET_KEY=django-insecure-initial-key
|
||||
BACKEND_DOMAIN=127.0.0.1
|
||||
BACKEND_PORT=8001
|
||||
|
||||
# EMAIL
|
||||
EMAIL_HOST=127.0.0.1
|
||||
EMAIL_PORT=1026
|
||||
FROM_EMAIL="Test <test@pi-ku.app>"
|
||||
EMAIL_HOST_USER=
|
||||
EMAIL_HOST_PASSWORD=
|
||||
FROM_EMAIL=testing@piku.local
|
||||
MAILPIT_API_URL=http://localhost:8025/api/v1
|
||||
EMAIL_API_PORT=8026
|
||||
|
||||
# Frontend (Vite/Playwright)
|
||||
VITE_API_URL=http://localhost:8001
|
||||
# FRONTEND
|
||||
FRONTEND_PORT=5199
|
||||
FRONTEND_DOMAIN=127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user