GithubHelp home page GithubHelp logo

eisengrind / docker-altv-voice-server Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 221 KB

A Docker image providing the alt:V voice server.

Home Page: https://hub.docker.com/r/eisengrind/altv-voice-server

License: MIT License

Shell 22.77% Dockerfile 13.71% Go 63.52%
docker altv altv-voice-server altv-server voice voice-server eisengrind server gtav gta5

docker-altv-voice-server's Introduction

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.

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.

Variable Default value Description
ALTV_VOICE_SERVER_HOST 0.0.0.0 The voice server host address on which the voice is reachable for the alt:V server.
ALTV_VOICE_SERVER_PORT 7798 The voice server port on which the voice server is reachable for the alt:V server.
ALTV_VOICE_SERVER_PLAYER_HOST 0.0.0.0 A (static) ip on which the voice server is reachable for clients connected to the alt:V server.
ALTV_VOICE_SERVER_PLAYER_PORT 7799 The voice server port on which the voice server is reachable for clients connected to the alt:V server.
ALTV_VOICE_SERVER_SECRET 1234 A 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.

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.

docker-altv-voice-server's People

Contributors

konders avatar pixlcrashr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-altv-voice-server's Issues

./altv-voice-server not starting

if I add echo to entry point, I will see only "server started"
but additionally it must print 'Starting voice server on 0.0.0.0:7798' from altv-voice-server

echo 'server started'
./altv-voice-server

atm output
"server started"

expected output
"server started"
"Starting voice server on 0.0.0.0:7798"

Can't connect to voice server from alt server too

failed to bind to public port

if i set my public ip to the real server ip on which the container runs it cannot bind

Starting voice server on 0.0.0.0:7798
[Error] Failed to bind to port 7799

and if I leave it at 0.0.0.0 my alt server just disconnects

[16:18:14] alt:V Server, build #1181, branch release
[16:18:14] Starting test.net on 0.0.0.0:8000
[16:18:14] Disconnected from voice server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.