eisengrind / docker-altv-server

The unofficial alt:V server Docker image.
https://hub.docker.com/r/eisengrind/altv-server
MIT License
21 stars 18 forks source link

Parsing of those env vars doesn't work currently #31

Closed pixlcrashr closed 1 year ago

pixlcrashr commented 1 year ago

Parsing of those env vars doesn't work currently :D ALTV_SERVER_CDN_URL: ${ALTV_SERVER_CDN_URL:-http://localhost:80/} If ALTV_SERVER_CDN_URL is unset it falls back to http://localhost:80/ but currently the container won't start that way. Logs:

@datWeazel New Issue.

datWeazel commented 1 year ago

Is there any workaround for now? I really need the EarlyAuth stuff even for testing and I really don't want to setup a "traditional" Test Server. :D

ps: If you have a ko-fi.com or PayPal.me link let me know :)

pixlcrashr commented 1 year ago

Is there any workaround for now? I really need the EarlyAuth stuff even for testing and I really don't want to setup a "traditional" Test Server. :D

ps: If you have a ko-fi.com or PayPal.me link let me know :)

Should work now. Would be interesting what your results are: (hint: re-pull the image: docker pull eisengrind/altv-server:release)


1.

docker run -it -e ALTV_SERVER_CDN_URL=https://example.com -e ALTV_SERVER_EARLY_AUTH_URL=https://login.example.com --entrypoint=/bin/bash eisengrind/altv-server:release
  1. Then execute ./configurator create -o server.toml.
  2. Read the config file: cat ./server.toml.
datWeazel commented 1 year ago

Seems to be working. Thanks.