Sign inSign up

eisengrind/altv-voice-server

By eisengrind

•Updated over 2 years ago

Image
1

10K+

eisengrind/altv-voice-server repository overview

⁠Unofficial alt:V voice server Docker image

Searching for the alt:V server image? Click here⁠

A Docker image providing the alt:V voice server.

⁠Tags

release, release-2.8, 2.8

rc, rc-3.0-rc2, 3.0-rc2

dev, dev-2.2-dev12, 2.2-dev12

⁠Usage

docker run --rm -it eisengrind/altv-voice-server:release

To the a full list of the latest tags and release of this Docker image, see the image on Docker Hub⁠.

⁠Environment variables

Here is a list of all available environment variables this image uses. The image maps environment variables to the voice server config file.

VariableDefault valueDescription
ALTV_VOICE_SERVER_HOST0.0.0.0The voice server host address on which the voice is reachable for the alt:V server.
ALTV_VOICE_SERVER_PORT7798The voice server port on which the voice server is reachable for the alt:V server.
ALTV_VOICE_SERVER_PLAYER_HOST0.0.0.0A (static) ip on which the voice server is reachable for clients connected to the alt:V server.
ALTV_VOICE_SERVER_PLAYER_PORT7799The voice server port on which the voice server is reachable for clients connected to the alt:V server.
ALTV_VOICE_SERVER_SECRET1234A secret that the alt:V server uses to authenticate against the voice server.

To use the environment variable when starting this Docker image:

docker run --rm -it -e ALTV_VOICE_SERVER_SECRET=123456789 eisengrind/altv-voice-server:release

sets the voice server secret to 123456789. See the Docker documentation on environment variables⁠.

⁠Build

For the $build and $branch variables you have to enter the regarding alt:V versioning values.

$build represents the build number of the voice server binary. E.g. $build=1181

$branch represents the branch where the voice server binary was released. E.g. $branch=release.

docker build . --build-arg BRANCH=$branch -t eisengrind/altv-voice-server:$build
⁠Note on Docker caching

We provide two different kinds of tags for the alt:V Docker images: specific and non-specific image tags.

In general, this means that specific tags represent a unique alt:V build version whereas a non-specific tag such as release... or dev... represents the latest build number of the regarding branch.

Thus, once an image with a non-specific tag is pulled, this image will not automatically get updated by Docker unless you remove and pull the image again from Docker Hub.

This is why we provide specific tags. Those kind of tags do explicitly not lead to a caching problem, because specific tags are not meant to be, once they are published, changed.

tl;dr Keep in mind that you should always specify a specific tag in a Dockerfile.

⁠Note on Docker image security

Since this images inherits from the debian:buster-slim image, we schedule nightly builds every 24 hours to reduce security invulnerabilities.

We highly recommend to update the altv-server image as frequent as possible.

Keep in mind that, because of the frequent updates, we overwrite the image tags release, dev, rc aswell as their build versions.

To use a specific image, we recommend using their Sha-256 digest hash as an image selector.

⁠License

See the LICENSE⁠-file for further information.

Tag summary

Content type

Image

Digest

sha256:9a3daaa58…

Size

49.2 MB

Last updated

over 2 years ago

docker pull eisengrind/altv-voice-server:release-16.0.155-980908fa