remove company website pages

This commit is contained in:
root
2026-05-17 08:53:19 -04:00
parent f52e53519c
commit 84285335a4
58 changed files with 106 additions and 5065 deletions
+24 -17
View File
@@ -67,19 +67,16 @@ services:
dockerfile: Dockerfile.production
args:
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL}
NEXT_PUBLIC_MARKETING_URL: ${NEXT_PUBLIC_MARKETING_URL}
NEXT_PUBLIC_MARKETPLACE_URL: ${NEXT_PUBLIC_MARKETPLACE_URL}
NEXT_PUBLIC_DASHBOARD_URL: ${NEXT_PUBLIC_DASHBOARD_URL}
NEXT_PUBLIC_ADMIN_URL: ${NEXT_PUBLIC_ADMIN_URL}
NEXT_PUBLIC_PUBLIC_SITE_DOMAIN: ${NEXT_PUBLIC_PUBLIC_SITE_DOMAIN}
command:
- bash
- -c
- |
npm run start --workspace @rentaldrivego/public-site &
npm run start --workspace @rentaldrivego/marketplace &
npm run start --workspace @rentaldrivego/admin &
npm run start --workspace @rentaldrivego/dashboard &
npm run start --workspace @rentaldrivego/admin &
wait -n
networks:
- internal
@@ -91,19 +88,29 @@ services:
restart: unless-stopped
labels:
- traefik.enable=true
# all frontend traffic → port 3000 (public-site proxies /marketplace, /dashboard, /admin internally)
- traefik.http.routers.frontend.rule=Host(`${PUBLIC_SITE_DOMAIN}`) || Host(`www.${PUBLIC_SITE_DOMAIN}`)
- traefik.http.routers.frontend.entrypoints=websecure
- traefik.http.routers.frontend.tls=true
- traefik.http.routers.frontend.tls.certresolver=letsencrypt
- traefik.http.routers.frontend.service=frontend-svc
- traefik.http.services.frontend-svc.loadbalancer.server.port=3000
# tenant branded sites — {slug}.rentaldrivego.ma subdomains
- traefik.http.routers.frontend-tenants.rule=HostRegexp(`{subdomain:[a-z0-9-]+}.${PUBLIC_SITE_DOMAIN}`)
- traefik.http.routers.frontend-tenants.entrypoints=websecure
- traefik.http.routers.frontend-tenants.tls=true
- traefik.http.routers.frontend-tenants.tls.certresolver=letsencrypt
- traefik.http.routers.frontend-tenants.service=frontend-svc
# /dashboard and /admin route to their respective ports (higher priority)
- traefik.http.routers.frontend-dashboard.rule=(Host(`${PUBLIC_SITE_DOMAIN}`) || Host(`www.${PUBLIC_SITE_DOMAIN}`)) && PathPrefix(`/dashboard`)
- traefik.http.routers.frontend-dashboard.entrypoints=websecure
- traefik.http.routers.frontend-dashboard.tls=true
- traefik.http.routers.frontend-dashboard.tls.certresolver=letsencrypt
- traefik.http.routers.frontend-dashboard.service=frontend-dashboard-svc
- traefik.http.routers.frontend-dashboard.priority=20
- traefik.http.services.frontend-dashboard-svc.loadbalancer.server.port=3001
- traefik.http.routers.frontend-admin.rule=(Host(`${PUBLIC_SITE_DOMAIN}`) || Host(`www.${PUBLIC_SITE_DOMAIN}`)) && PathPrefix(`/admin`)
- traefik.http.routers.frontend-admin.entrypoints=websecure
- traefik.http.routers.frontend-admin.tls=true
- traefik.http.routers.frontend-admin.tls.certresolver=letsencrypt
- traefik.http.routers.frontend-admin.service=frontend-admin-svc
- traefik.http.routers.frontend-admin.priority=20
- traefik.http.services.frontend-admin-svc.loadbalancer.server.port=3002
# marketplace catches everything else (root and all other paths)
- traefik.http.routers.frontend-marketplace.rule=Host(`${PUBLIC_SITE_DOMAIN}`) || Host(`www.${PUBLIC_SITE_DOMAIN}`)
- traefik.http.routers.frontend-marketplace.entrypoints=websecure
- traefik.http.routers.frontend-marketplace.tls=true
- traefik.http.routers.frontend-marketplace.tls.certresolver=letsencrypt
- traefik.http.routers.frontend-marketplace.service=frontend-marketplace-svc
- traefik.http.routers.frontend-marketplace.priority=10
- traefik.http.services.frontend-marketplace-svc.loadbalancer.server.port=3000
pgmanage:
image: cmdpromptinc/pgmanage-enterprise:latest