This project uses ngrok to expose local services to the internet. This is particularly useful for testing webhooks, mobile apps, or sharing your local progress.
The tunnels are configured in ngrok.yml at the root of the project.
- yeko-core: http://localhost:3000
- yeko-school: http://localhost:3001
- yeko-teacher: http://localhost:3002
- data-service: http://localhost:8787
# Start all tunnels
make tunnel
# Start specific tunnels
make tunnel-core
make tunnel-school
make tunnel-teacher
make tunnel-data# Start all tunnels
pnpm tunnel
# Start specific tunnels
pnpm tunnel:core
pnpm tunnel:school
pnpm tunnel:teacher
pnpm tunnel:dataWhen using ngrok, you often need to update your .env files so that the application knows its public URL (for authentication redirects, etc.).
For example, in apps/core/.env:
BETTER_AUTH_URL=https://your-ngrok-subdomain.ngrok-free.app
APP_URL=https://your-ngrok-subdomain.ngrok-free.appRemember to restart your Docker containers after changing .env files:
make docker-up