Skip to content

Commit

Permalink
Merge pull request #11 from grishy/grishy-patch-1
Browse files Browse the repository at this point in the history
Use latest image tag in README
  • Loading branch information
grishy authored Jan 9, 2024
2 parents 71db12b + 9415d64 commit 5d8a156
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

## TL;DR

Forward all subdomains current to machine( `*.hostname.local` -> `hostname.local`)
Redirect all "subdomains" to the machine( `*.hostname.local` -> `hostname.local`)

1. _Binary_ `./go-avahi-cname subdomain`
2. _Docker_ `docker run -d --network host -v "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket" ghcr.io/grishy/go-avahi-cname:v2.0.2`
2. _Docker_ `docker run -d --network host -v "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket" ghcr.io/grishy/go-avahi-cname:v2.0.3`

# What is go-avahi-cname?

Expand Down Expand Up @@ -127,7 +127,7 @@ services:
network_mode: host
volumes:
- "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket"
image: "ghcr.io/grishy/go-avahi-cname:v2.0.2"
image: "ghcr.io/grishy/go-avahi-cname:v2.0.3"
```
Ansible task to run the container:
Expand All @@ -136,7 +136,7 @@ Ansible task to run the container:
- name: go-avahi-cname | Start container
community.docker.docker_container:
name: "go-avahi-cname"
image: "ghcr.io/grishy/go-avahi-cname:v2.0.2"
image: "ghcr.io/grishy/go-avahi-cname:v2.0.3"
restart_policy: unless-stopped
network_mode: host
volumes:
Expand Down

0 comments on commit 5d8a156

Please sign in to comment.