A Terraria server Docker image for Raspberry Pi with customizable world settings and player options.
491
This Docker image provides a Terraria server that is fully compatible with multiple platforms, including Raspberry Pi (ARM32 and ARM64). It allows you to customize world settings and server configurations through environment variables.
docker run -d -p 7777:7777 \
-e WORLD_NAME=MyWorld \
-e WORLD_SIZE=2 \
-e WORLD_DIFFICULTY=1 \
-e WORLD_SEED=myseed123 \
-e MOTD=Welcome!!! \
-e LANGUAGE=en-US \
-e MAX_PLAYERS=8 \
-e PASSWORD=<YOUR_PASSWORD> \
-v /worlds/path:/opt/terraria-server/worlds \
--name terraria-server \
yon09/terraria-server:latest
version: '3'
services:
terraria-server:
image: yon09/terraria-server:latest
container_name: terraria-server
ports:
- "7777:7777"
volumes:
- /worlds/path:/opt/terraria-server/worlds
environment:
- WORLD_NAME=MyWorld
- WORLD_SIZE=2
- WORLD_DIFFICULTY=1
- WORLD_SEED="myseed123"
- MOTD=Welcome!!!
- LANGUAGE="en-US"
- MAX_PLAYERS=8
- PASSWORD=<YOUR_PASSWORD>
restart: unless-stopped
Then, start the server with:
docker-compose up -d
Feel free to customize these parameters to fit your needs. Enjoy your Terraria server on Raspberry Pi!
Content type
Image
Digest
sha256:021da7a89…
Size
269.9 MB
Last updated
over 1 year ago
docker pull yon09/terraria-server