Dockerfile for Yanic
For yanic to properly listen on your interfaces it is required to run the container with the "host" network mode.
Example docker command:
docker run --network host \
-v $(pwd)/config:/config \
-v $(pwd)/data:/data\
ghcr.io/fflev/yanic:latest
An example minimal config.toml
and compose.yaml
for use with Docker Compose
are provided in the Git repository. The container expects a config.toml
to
exist inside the /config
volume.
When running in host network mode you can directly access your host's network
interfaces, so just use the according interface names in your config.toml
.
Felix Kaechele [email protected]