Skip to content

Instantly share code, notes, and snippets.

@ulexxander
Last active October 12, 2023 09:40
Show Gist options
  • Save ulexxander/79d2f1ace4ebdc90c296b6f575e52b2d to your computer and use it in GitHub Desktop.
Save ulexxander/79d2f1ace4ebdc90c296b6f575e52b2d to your computer and use it in GitHub Desktop.
Ngrok in Docker for projects development
version: "3.8"
services:
my-app:
image: nginx:1.25.2
ngrok:
image: ngrok/ngrok:3.3.5-alpine
command:
- http
- my-app:80
- --log=stdout
environment:
- NGROK_AUTHTOKEN=${NGROK_AUTH_TOKEN}
ports:
- ${NGROK_PORT:-4040}:4040
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment