Skip to content

Instantly share code, notes, and snippets.

@jakehwll
Last active May 27, 2022 15:16
Show Gist options
  • Save jakehwll/1b676939dcd9bc3af79e3a720e9a304e to your computer and use it in GitHub Desktop.
Save jakehwll/1b676939dcd9bc3af79e3a720e9a304e to your computer and use it in GitHub Desktop.
🕳 A docker compose for bore.

bore Docker Compose

This is a version of bore written as a docker-compose.yml file.

Instructions

To get started, follow the instructions below.

  1. touch docker-compose.yml
  2. nano docker-compose.yml
  3. Insert the below contents, make sure you change your password.
  4. docker-compose up

Your new bore server instance should be running!

Usage

This is the standard bore command output. i.e.

bore local 3000 --to 127.0.0.1 -s change_me -p 1024

For a better explanation..

bore local 3000 - Expose local port 3000.
 --to 127.0.0.1 - The remote IP to your server.
   -s change_me - The secret which you changed above.
   -p 1024      - Unnecessary, but great for wrapping with NGINX.
version: "3"
services:
bore:
image: ekzhang/bore
container_name: bore
command: server
environment:
- BORE_SECRET=change_me
stdin_open: true
tty: true
init: true
network_mode: host
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment