diff --git a/.env b/.env index e189c49..fc4bde7 100644 --- a/.env +++ b/.env @@ -20,11 +20,11 @@ STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key # SMTP Configuration -SMTP_HOST=smtp.gmail.com -SMTP_PORT=587 -SMTP_USERNAME=your_email@gmail.com -SMTP_PASSWORD=your_app_password -SMTP_FROM=your_email@gmail.com +SMTP_HOST=smtp.hostinger.com +SMTP_PORT=465 +SMTP_USERNAME=hello@attunehearttherapy.com +SMTP_PASSWORD="G&n2S;ffTc8f" +SMTP_FROM=hello@attunehearttherapy.com # Jitsi Configuration # JITSI_BASE_URL=https://meet.jit.si diff --git a/.env.example b/.env.example index 18c1e1d..fde6302 100644 --- a/.env.example +++ b/.env.example @@ -28,9 +28,10 @@ SMTP_FROM=your_email@gmail.com # Jitsi Configuration # For public Jitsi (meet.jit.si) - JWT not required, leave API_KEY and APP_ID empty -JITSI_BASE_URL=https://meet.jit.si -JITSI_API_KEY= -JITSI_APP_ID= +JITSI_BASE_URL=https://meet.attunehearttherapy.com +JITSI_API_KEY=your_jitsi_api_key +JITSI_APP_ID=attunehearttherapy_id +JITSI_PRIVATE_KEY=attunehearttherapy_jitsi_private_key # For self-hosted Jitsi with JWT authentication - fill in these values # JITSI_BASE_URL=https://meet.yourdomain.com diff --git a/Makefile b/Makefile index ab3b367..c1c8ef2 100644 --- a/Makefile +++ b/Makefile @@ -54,4 +54,62 @@ db-seed: build-cli # Development setup dev-setup: deps cp .env.example .env - @echo "Please update .env file with your configuration" \ No newline at end of file + @echo "Please update .env file with your configuration" + +# Docker commands +docker-build: + docker-compose build + +docker-up: + docker-compose up -d + +docker-down: + docker-compose down + +docker-logs: + docker-compose logs -f + +docker-ps: + docker-compose ps + +docker-restart: + docker-compose restart api + +docker-clean: + docker-compose down -v + +# Docker development +docker-dev: + docker-compose -f docker-compose.yml -f docker-compose.dev.yml up + +docker-dev-build: + docker-compose -f docker-compose.yml -f docker-compose.dev.yml build + +# Docker database +docker-db-shell: + docker-compose exec postgres psql -U postgres -d booking_system + +docker-db-backup: + docker-compose exec postgres pg_dump -U postgres booking_system > backup_$$(date +%Y%m%d_%H%M%S).sql + +docker-db-restore: + @read -p "Enter backup file path: " file; \ + docker-compose exec -T postgres psql -U postgres booking_system < $$file + +# Docker testing +docker-test: + docker-compose exec api go test ./... + +docker-test-coverage: + docker-compose exec api go test -cover ./... + +# Docker utilities +docker-shell: + docker-compose exec api /bin/sh + +docker-rebuild: + docker-compose up -d --build api + +docker-health: + @echo "API Health:"; curl -s http://localhost:8080/health | jq . + @echo "\nDatabase Health:"; docker-compose exec postgres pg_isready -U postgres \ No newline at end of file diff --git a/internal/templates/email_templates.go b/internal/templates/email_templates.go index 5499604..756ef8a 100644 --- a/internal/templates/email_templates.go +++ b/internal/templates/email_templates.go @@ -39,7 +39,7 @@ func NewEmailTemplateService() *EmailTemplateService { templates: make(map[models.NotificationType]*template.Template), baseData: TemplateData{ CompanyName: "Attune Heart Therapy", - SupportEmail: "support@attuneheart.com", + SupportEmail: "hello@attunehearttherapy.com", }, }