docs: add compose example of multiline MOTD (#2827)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2024-05-15 16:11:11 -05:00
1 parent cbcdfdc288
commit e1262effef
2 files changed
+29 -1

No files matched your search

@@ -0,0 +1,12 @@
services:
mc:
image: itzg/minecraft-server
environment:
EULA: true
MOTD: |
line one
line two
# or
# MOTD: "line one\nline two"
ports:
- "25565:25565"