Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kikyous/docker-tshock
https://github.com/kikyous/docker-tshock
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kikyous/docker-tshock
- Owner: kikyous
- License: gpl-3.0
- Created: 2015-12-23T01:40:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-24T02:50:38.000Z (about 9 years ago)
- Last Synced: 2025-01-01T04:03:14.932Z (24 days ago)
- Language: Shell
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraria-alpine
A nice and easy way to get a Terraria server up and running using docker and TShock. For
help on getting started with docker see the [official getting started guide][0].
For more information on Terraria and check out it's [website][1].
You can simply take the image from the official repository with:docker pull kikyous/terraria
## Building docker-terraria
Running this will build you a docker image with the latest version of both
docker-terraria and TShock itself.git clone https://github.com/kikyous/terraria-alpine
cd docker-terraria
docker build -t kikyous/terraria .## Running docker-terraria
Running the first time will set your port to a static port of your choice so
that you can easily map a proxy to. If this is the only thing running on your
system you can map the port to 7777 and no proxy is needed. i.e.
`-p=7777:7777`.docker run -i -p 7777:7777 --name="terraria" kikyous/terraria
From now on when you start/stop docker-terraria you should use the container id
with the following commands. To get your container id, after you initial run
type `sudo docker.io ps` and it will show up on the left side followed by the
image name which is `izissise/terraria`.docker start
docker stop### Notes on the run command
+ `izissise/terraria` is simply what I called my docker build of this image
+ `-d=true` allows this to run cleanly as a daemon, remove for debugging
+ `-p` is the port it connects to, `-p=host_port:docker_port`[0]: http://www.docker.io/gettingstarted/
[1]: http://www.terraria.org/