Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wkornewald committed Nov 12, 2023
1 parent 860ae49 commit f377452
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ There's a [default avahi-daemon.conf](https://github.com/ensody/avahi/blob/main/

## Volumes

You can add your own `/etc/avahi/avahi-daemon.conf` or the whole `/etc/avahi` folder or just add a single service to `/etc/avahi/services`. It's your choice.
Usually you can just add one or more service definitions to `/etc/avahi/services`.

For more customization you can add your own `/etc/avahi/avahi-daemon.conf` or override the whole `/etc/avahi` folder.

## Example

Expand All @@ -36,5 +38,5 @@ cat > "$AVAHI_ROOT/smb.service" <<EOF
</service-group>
EOF

docker run --restart always -d --name samba-avahi --net=host -v "$AVAHI_ROOT/services:/etc/avahi/services" ghcr.io/ensody/avahi:latest
docker run --restart always -d --name samba-avahi --net=host -v "$AVAHI_ROOT/services/:/etc/avahi/services/" ghcr.io/ensody/avahi:latest
```

0 comments on commit f377452

Please sign in to comment.