1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-19 17:32:38 +01:00

Updated Docker (markdown)

Donald Webster 2017-03-07 14:17:22 -08:00
parent 8b57876d68
commit dc3dd62af7

@ -40,6 +40,11 @@ ExecStop=/usr/bin/docker stop radarr
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
## Firewall
An important network and firewall aspect to make note of is the difference between Docker's bridged and host network mode. The default is bridged, which then uses the `-p` option to open up a port to *everything*. If the host option is used instead, it'll obey any of your firewall rules. This distinction is most notable *outside* of a typical LAN environment, like with a VPS, dedicated server or AWS instance.
To change between options, just remove `-p 7878:7878 \` and replace with `--network host \`.
##Set permissions ##Set permissions
```bash ```bash
sudo chmod 644 /etc/systemd/system/docker-radarr.service sudo chmod 644 /etc/systemd/system/docker-radarr.service