- Add findagram.co React frontend with product search, brands, categories - Add findadispo.com React frontend with dispensary locator - Wire findagram to backend /api/az/* endpoints - Update category/brand links to route to /products with filters - Add k8s manifests for both frontends - Add multi-domain user support migrations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
129 lines
3.0 KiB
YAML
129 lines
3.0 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: scraper-ingress
|
|
namespace: dispensary-scraper
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- findagram.co
|
|
- www.findagram.co
|
|
secretName: findagram-tls
|
|
- hosts:
|
|
- findadispo.com
|
|
- www.findadispo.com
|
|
secretName: findadispo-tls
|
|
- hosts:
|
|
- cannaiq.co
|
|
- www.cannaiq.co
|
|
secretName: cannaiq-tls
|
|
rules:
|
|
# Find a Gram consumer site
|
|
- host: findagram.co
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: scraper
|
|
port:
|
|
number: 80
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: findagram-frontend
|
|
port:
|
|
number: 80
|
|
- host: www.findagram.co
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: scraper
|
|
port:
|
|
number: 80
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: findagram-frontend
|
|
port:
|
|
number: 80
|
|
# Find a Dispo consumer site
|
|
- host: findadispo.com
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: scraper
|
|
port:
|
|
number: 80
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: findadispo-frontend
|
|
port:
|
|
number: 80
|
|
- host: www.findadispo.com
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: scraper
|
|
port:
|
|
number: 80
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: findadispo-frontend
|
|
port:
|
|
number: 80
|
|
# CannaIQ dashboard site
|
|
- host: cannaiq.co
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: scraper
|
|
port:
|
|
number: 80
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: cannaiq-frontend
|
|
port:
|
|
number: 80
|
|
- host: www.cannaiq.co
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: scraper
|
|
port:
|
|
number: 80
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: cannaiq-frontend
|
|
port:
|
|
number: 80
|