Sign inSign up

k4rian/twserver

By k4rian

•Updated over 2 years ago

A Docker image for the twserver-go project.

Image
Web servers
0

1.3K

k4rian/twserver repository overview

docker-twserver logo

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


Docker TagVersionPlatformDescription
latest⁠1.1amd64, arm64Latest release

⁠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⁠

Tag summary

Content type

Image

Digest

sha256:c876ac763…

Size

8 MB

Last updated

over 2 years ago

docker pull k4rian/twserver