Giter VIP home page Giter VIP logo

terraria's Introduction

Creates a docker container based on alpine linux with glibc.

Terraria docker container

Building the container

  1. Pull this repository
  2. Change directory to the repository
  3. Build using: docker build -t terraria:latest .

Running the container

Run container by running

Replace the world folder:

docker run -it -p 7777:7777/tcp -v "/absolute/path/to/world/folder":"/terraria/world" terraria:latest

Replace server.conf and world folder:

docker run -it -p 7777:7777/tcp -v "/absolute/path/to/world/folder":"/terraria/world" -v "/absolute/path/to/server.conf":"/terraria/server.conf" terraria:latest

Terraria server.conf config example

maxplayers=8
world=/terraria/world/docker.wld
port=7777
password=
motd=Hosted in a docker container
worldpath=/terraria/world/
autocreate=2
difficulty=0
worldname=docker
banlist=banlist.txt
secure=1
language=en/US
seed=
upnp=1
npcstream=60
priority=1
# Journey mode power permissions for every individual power. 0: Locked for everyone, 1: Can only be changed by host, 2: Can be changed by everyone
journeypermission_time_setfrozen=1
journeypermission_time_setdawn=1
journeypermission_time_setnoon=1
journeypermission_time_setdusk=1
journeypermission_time_setmidnight=1
journeypermission_godmode=1
journeypermission_wind_setstrength=1
journeypermission_rain_setstrength=1
journeypermission_time_setspeed=1
journeypermission_rain_setfrozen=1
journeypermission_wind_setfrozen=1
journeypermission_increaseplacementrange=1
journeypermission_setdifficulty=1
journeypermission_biomespread_setfrozen=1
journeypermission_setspawnrate=1

Detach from docker by pressing: <ctrl-p> <ctrl-q>

terraria's People

Contributors

narfe95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.