added ombi

This commit is contained in:
2018-12-18 09:21:05 -05:00
parent a4a64f96f0
commit 92aab98e61

View File

@@ -82,6 +82,29 @@ EOF
}
ombi () {
docker create \
--name=ombi \
-v /etc/docker/config/ombi:/config \
-e PGID=0 -e PUID=0 \
-e TZ=America/New_Yory \
-p 3579:3579 \
--restart=always \
linuxserver/ombi
cat << EOF >> /etc/firewalld/services/ombi.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>ombi</short>
<description>ombi</description>
<port protocol="tcp" port="9091"/>
</service>
EOF
firewall-cmd --add-service=ombi --permanent
firewall-cmd --reload
docker start ombi
}
# Debian OS
if [ -f /etc/debian_version ]; then
echo "Debian is not yet supported"