Last active
May 15, 2022 10:35
-
-
Save FlandreDaisuki/b27d21c75fe20ee7113c8db8ead2a451 to your computer and use it in GitHub Desktop.
docker-compose -f one-time-ngrok.yml up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
http-server: | |
container_name: http-server | |
image: python:alpine | |
working_dir: /root | |
volumes: | |
- $PWD:/root:ro | |
command: python -m http.server ${HTTP_SERVER_PORT:-24680} | |
reverse-proxy: | |
container_name: reverse-proxy | |
image: node:lts-alpine | |
command: npx localtunnel --local-host http-server --port ${HTTP_SERVER_PORT:-24680} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment