A Docker image for hosting a Terraria server
- Dockerfile 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
Terraria Docker
A Docker image for hosting Terraria servers.
Currently on Terraria version 1.4.4.7.
Usage
Build the Docker image by running:
docker build -t terraria .
If you have Docker Compose installed, you can run the container via:
docker compose up -d
This will start the server on port 7777, placing created worlds in a worlds directory.
You will need to have a configuration file titled config.ini in this directory when you build, filled out as shown here.