Initial import into git
This commit is contained in:
18
docker-compose-example.yml
Normal file
18
docker-compose-example.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
reflector:
|
||||
build:
|
||||
context: ./docker
|
||||
container_name: "avahi-reflector"
|
||||
pull_policy: build
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
environment:
|
||||
- "AVAHI_INTERFACES=dummy0"
|
||||
# Ref: https://docs.docker.com/reference/dockerfile/#healthcheck
|
||||
healthcheck:
|
||||
test: ["CMD", "avahi-browse", "-a", "-c"]
|
||||
interval: 1m30s
|
||||
timeout: 30s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
start_interval: 5s
|
||||
Reference in New Issue
Block a user