Aggiorna README.md
This commit is contained in:
parent
b1a620a9f0
commit
a0f30c8c08
1 changed files with 30 additions and 0 deletions
30
README.md
30
README.md
|
@ -1,3 +1,33 @@
|
||||||
|
# Come installare
|
||||||
|
|
||||||
|
per installare usare docker-compose
|
||||||
|
|
||||||
|
```docker-compose.yaml
|
||||||
|
services:
|
||||||
|
avahi:
|
||||||
|
image: ydkn/avahi
|
||||||
|
hostname: OrangePiSMB
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /home/orangepi/dockerfiles/avahi-services:/etc/avahi/services:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
```
|
||||||
|
|
||||||
|
editare il file sudo nano /home/orangepi/dockerfiles/avahi-services/smb.service
|
||||||
|
|
||||||
|
```avahi-services/smb.service
|
||||||
|
<?xml version="1.0" standalone='no'?>
|
||||||
|
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||||
|
<service-group>
|
||||||
|
<name replace-wildcards="yes">%h</name>
|
||||||
|
<service>
|
||||||
|
<type>_smb._tcp</type>
|
||||||
|
<port>445</port>
|
||||||
|
</service>
|
||||||
|
</service-group>
|
||||||
|
```
|
||||||
|
far ripartire il docker
|
||||||
|
|
||||||
# Avahi Docker Image
|
# Avahi Docker Image
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
Loading…
Reference in a new issue