Skip to content

Run a Loophole local tunnel via Docker or Docker Compose

License

Notifications You must be signed in to change notification settings

ekimia/loophole-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Loophole for Docker

This repository enables you to run Loophole using Docker, or more effectively with Docker Compose, allowing for the automatic exposure of a service when executing the docker-compose up command.

Prerequisities

Loophole installed and logged in locally via loophole account login to snag the access token off of the host.

Usage

Make sure you pick the image with the correct platform for your host!

docker-compose.yml

version: '3'

services:
  api-service:
    build:
      context: .
      dockerfile: Dockerfile
    env_file: .env
    volumes:
      - ./src:/src
    ports:
      - "8000:8000"

  loophole:
    image: ekimiadocker/loophole:1.0.0-beta.15_linux_arm64
    restart: on-failure
    network_mode: service:api-service
    depends_on:
      - api-service
    command: http 8000 --hostname optional-unique-subdomain
    volumes:
      - ~/.loophole/tokens.json:/root/.loophole/tokens.json

About

Run a Loophole local tunnel via Docker or Docker Compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published