Skip to content

Commit

Permalink
Move docker-compose.yaml to a dedicated file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-Der committed Dec 17, 2023
1 parent 41fe37c commit 1ca7d0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,17 +202,7 @@ This will make broadcast-box available on `http://localhost:8080`. The UDPMux is
If you are running on AWS (or other cloud providers) execute. `docker run --net=host -e INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes seaduboi/broadcast-box`
broadcast-box needs to be run in net=host mode. broadcast-box listens on random UDP ports to establish sessions.
You can also run it in docker-compose with the following
```
broadcast-box:
environment:
- INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes
image: broadcast-box
hostname: broadcast-box
container_name: broadcast-box
network_mode: "host"
privileged: true
```
A docker-compose.yaml is included in the repo.
# Design
The backend exposes two endpoints.
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
broadcast-box:
environment:
- INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes
image: broadcast-box
hostname: broadcast-box
container_name: broadcast-box
network_mode: "host"
privileged: true

0 comments on commit 1ca7d0b

Please sign in to comment.