Skip to content

Commit 7415f47

Browse files
committed
put docker port forwarding tip in tip block
1 parent b1957d8 commit 7415f47

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/sending-commands/websocket.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ The listen address and port can be set with `WEBSOCKET_ADDRESS` (defaults to `0.
1616
## Log history
1717
When a connection is established, the last 50 (by default, configurable with `WEBSOCKET_LOG_BUFFER_SIZE`) log lines are sent with a `logHistory` type message.
1818

19-
## Docker port forwarding
20-
Remember to forward the websocket port to the host:
21-
```yaml title="compose.yaml"
22-
services:
23-
mc:
24-
ports:
25-
- '25565:25565'
26-
- '80:80'
27-
```
19+
??? tip "Tip: Remember to forward the websocket port on the host"
20+
21+
```yaml title="compose.yaml"
22+
services:
23+
mc:
24+
ports:
25+
- '25565:25565'
26+
- '80:80'
27+
```
2828

2929
## Environment variables
3030
| Environment Variable | Usage | Default |

0 commit comments

Comments
 (0)