blob: 60794def74babaaf9fb472d118d9bb29bbb32f1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# BedrockConnect on Docker on Raspberry Pi
- Grab the `Dockerfile`
- Configure the `CMD` line in the `Dockerfile` to fit your needs
- run `docker build -t bedrock-connect .`
- run `docker run --name "bedrock-c" -d --restart always -p 19132:19132/udp bedrock-connect`
# Docker compose example
```
bedrock-connect:
container_name: bedrock-connect
build:
context: /home/pi/BedrockConnect/docker/raspberrypi
dockerfile: ./Dockerfile
volumes:
- /home/pi/BedrockConnect/docker/raspberrypi/custom_servers.json:/brc/custom_servers.json
ports:
- 19132:19132/udp
restart: unless-stopped
```
Replace "/home/pi/BedrockConnect/docker/raspberrypi" with the location of the Dockerfile, and custom_servers.json.
|