MarcelCoding/zia

how to run zia on docker?

Closed this issue · 1 comments

root@BleachWrt:~# docker run ghcr.io/marcelcoding/zia-client:edge listen_addr = "127.0.0.1:8080"
Error: missing field listen_addr

You have to define the configuration as environment variables. Have a look here for a list of all available: https://github.com/MarcelCoding/zia#client

Example:

docker run --rm -d \
  -e ZIA_LISTEN_ADDR=0.0.0.0:8080 \
  -e ZIA_UPSTREAM=ws://domain.tld:1234 \
  ghcr.io/marcelcoding/zia-client:edge