From f2d67c4aeee6c085e80eb91d0d1aa9a7f5b24a3f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 6 May 2020 23:28:51 +0200 Subject: [PATCH] services: don't open unnecessary ports --- docker-compose.yml | 82 +++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index adfe855..beb4289 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,8 +34,8 @@ services: - PUID=1000 volumes: - ./freshrss:/config - ports: - - "667:80" + expose: + - 80 rss-bridge: image: rssbridge/rss-bridge @@ -43,8 +43,8 @@ services: restart: unless-stopped volumes: - ./rss-bridge/whitelist.txt:/app/whitelist.txt - ports: - - 3000:80 + expose: + - 80 calibre: image: linuxserver/calibre @@ -59,9 +59,8 @@ services: volumes: - ~/library:/config - ~/books_to_add:/books_to_add - ports: - - "8080:8080" - #- "8081:8081" + expose: + - 8080 calibre-web: image: linuxserver/calibre-web @@ -75,8 +74,8 @@ services: volumes: - ./calibre-web:/config - ~/library:/books - ports: - - "8083:8083" + expose: + - 8083 gitea: image: gitea/gitea:latest @@ -95,8 +94,9 @@ services: - ./gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro + expose: + - 3000 ports: - - 6000:3000 - 222:222 pyload: @@ -110,9 +110,9 @@ services: volumes: - ./pyload:/config - ~/downloads:/downloads - ports: - - 8000:8000 - - 7227:7227 #optional + expose: + - 8000 + - 7227 #optional transmission: image: linuxserver/transmission @@ -130,10 +130,10 @@ services: - ./transmission:/config - ~/downloads:/downloads - ~/downloads/blackhole:/watch - ports: - - 9091:9091 - - 51413:51413 - - 51413:51413/udp + expose: + - 9091 + - 51413 + - 51413/udp sabnzbd: image: linuxserver/sabnzbd @@ -146,9 +146,9 @@ services: volumes: - ./sabnzbd:/config - ~/downloads:/downloads - ports: - - 8081:8080 - - 9090:9090 + expose: + - 8080 + - 9090 nzbhydra2: image: linuxserver/nzbhydra2 @@ -161,8 +161,8 @@ services: volumes: - ./nzbhydra2:/config - ~/downloads:/downloads - ports: - - 5076:5076 + expose: + - 5076 jackett: image: linuxserver/jackett @@ -175,8 +175,8 @@ services: volumes: - ./jackett:/config - ~/downloads/blackhole:/downloads - ports: - - 9117:9117 + expose: + - 9117 sonarr: image: linuxserver/sonarr @@ -191,8 +191,8 @@ services: - ./sonarr:/config - ~/videos/shows:/tv - ~/downloads:/downloads - ports: - - 8989:8989 + expose: + - 8989 radarr: image: linuxserver/radarr @@ -207,8 +207,8 @@ services: - ./radarr:/config - ~/videos/movies:/movies - ~/downloads:/downloads - ports: - - 7878:7878 + expose: + - 7878 bazarr: image: linuxserver/bazarr @@ -223,8 +223,8 @@ services: - ./bazarr:/config - ~/videos/movies:/movies - ~/videos/shows:/tv - ports: - - 6767:6767 + expose: + - 6767 lidarr: image: linuxserver/lidarr @@ -239,8 +239,8 @@ services: - ./lidarr:/config - ~/music:/music - ~/downloads:/downloads - ports: - - 8686:8686 + expose: + - 8686 quassel-core: image: linuxserver/quassel-core @@ -273,8 +273,8 @@ services: - ~/videos/shows:/data/tvshows - ~/videos/movies:/data/movies - /tmp/transcode:/transcode #optional - ports: - - 8096:8096 + expose: + - 8096 airsonic: image: linuxserver/airsonic @@ -290,8 +290,8 @@ services: - ~/music/:/music - ~/podcasts:/podcasts - ~/playlists:/playlists - ports: - - 4040:4040 + expose: + - 4040 komga: image: gotson/komga @@ -302,8 +302,8 @@ services: - ~/comics:/books/comics - ~/manga:/books/manga - /etc/timezone:/etc/timezone:ro - ports: - - 8082:8080 + expose: + - 8080 user: 1000:1000 photoprism: @@ -349,7 +349,7 @@ services: - ./photoprism/config:/photoprism/config - ./photoprism/cache:/photoprism/cache - ./photoprism/database:/photoprism/database - ports: - - 2342:2342 - - 2343:2343 + expose: + - 2342 + - 2343 user: 1000:1000