Skip to content

K4rian/docker-twserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-twserver logo

A Docker image for the twserver-go project based on the official Alpine Linux image.


Docker Tag Version Platform Description
latest 1.1 amd64, arm64 Latest release

UsageUsing ComposeManual buildLicense

Usage

  • Create and run a container with a volume attached to keep the data safe:
docker run -d \
  --name twserver \
  -p 8080:8080/tcp \
  -v twserver_data:/home/tw \
  -i k4rian/twserver
  • Same as above but using a different port (8080(default) -> 52041):
docker run -d \
  --name twserver \
  -p 52041:8080/tcp \
  -v twserver_data:/home/tw \
  -i k4rian/twserver

Using Compose

docker compose -p twserver up -d

A named volume is defined in order to store the server data that can be recovered if the container is removed and restarted.

Manual build

Requirements:
— Docker >= 18.09.0
— Git (optional)

Like any Docker image the building process is pretty straightforward:

  • Clone (or download) the GitHub repository to an empty folder on your local machine:
git clone https://github.com/K4rian/docker-twserver.git .
  • Then run the following command inside the newly created folder:
docker build --no-cache -t k4rian/twserver .

License

MIT

Releases

No releases published

Packages

No packages published