Standalone NuVotifier server implementation. From the original README:
NuVotifier is a secure alternative to using the original Votifier project. NuVotifier will work in place of Votifier - any vote listener that supports Votifier will also support NuVotifier.
Grab a compiled binary from GitHub releases and run it from the command line. For example:
$ curl -O https://github.com/azujelly/standalone-nuvotifier/releases/download/3.0.0-SNAPSHOT/nuvotifier-standalone.jar
$ java -Xms512M -Xmx512M -jar nuvotifier-standalone.jar
You can also use command line arguments to configure some settings:
$ java -Xms512M -Xmx512M -jar nuvotifier-standalone.jar --host 127.0.0.1 --config /etc/nuvotifier/
To get a full list of options, run:
$ java -jar nuvotifier-standalone.jar --help
A Docker image is available at Docker Hub. To pull it, run:
$ docker pull azurejelly/standalone-nuvotifier:latest
You can run the image using a command like:
$ docker run -p 8192:8192 \
-v /etc/nuvotifier:/app/config \
--restart unless-stopped \
--name nuvotifier \
azurejelly/standalone-nuvotifier:latest
--port 8192
This will:
- Expose port 8192 on the host machine;
- Map
/etc/nuvotifier
(host) to/app/config
(container) using bind mounts; - Restart the container automatically unless stopped;
- Name the container
nuvotifier
; - Use the
azurejelly/standalone-nuvotifier:latest
image; - And pass
--port 8192
as a command line argument to NuVotifier.
Additionally, if you're also running your Minecraft server with Docker, you could create a network for cross-container communication:
$ docker network create votifierNetwork
$ docker run ... --network votifierNetwork ...
Note that you will need to recreate your existing containers to do this.
The Docker Compose equivalent of the previous docker run
command (minus networking stuff) is as follows:
services:
forwarder:
container_name: nuvotifier
image: azurejelly/standalone-nuvotifier:latest
restart: unless-stopped
ports:
- 8192:8192
volumes:
- ./config:/app/config
NuVotifier is GNU GPLv3 licensed. This project's license can be viewed here.