Map all ports as variables in all.yml.dist

NOTE: The majority of traefik ports were totally broken and would never have worked. It should be the external port there, not the internal container port!.

Port conflicts were fixed.
This commit is contained in:
animeai 2020-01-05 21:47:40 +00:00
parent 12d80c0825
commit ce21999f46
40 changed files with 168 additions and 122 deletions

View file

@ -314,6 +314,8 @@ traefik_debug: "false"
heimdall_available_externally: "false" heimdall_available_externally: "false"
heimdall_docker_image: linuxserver/heimdall:latest heimdall_docker_image: linuxserver/heimdall:latest
heimdall_data_directory: "{{ docker_home }}/heimdall" heimdall_data_directory: "{{ docker_home }}/heimdall"
heimdall_port_http: "10080"
heimdall_port_https: "10443"
### ###
### Transmission ### Transmission
@ -323,9 +325,13 @@ transmission_with_openvpn_available_externally: "false"
transmission_config_directory: "{{ docker_home }}/transmission/config" transmission_config_directory: "{{ docker_home }}/transmission/config"
transmission_download_directory: "{{ downloads_root }}" transmission_download_directory: "{{ downloads_root }}"
transmission_watch_directory: "{{ torrents_root }}" transmission_watch_directory: "{{ torrents_root }}"
transmission_user_id: 0 transmission_user_id: "0"
transmission_group_id: 0 transmission_group_id: "0"
transmission_local_network: "192.168.1.0/24" transmission_local_network: "192.168.1.0/24"
transmission_webui_port: "9092"
transmission_external_port: "51414"
transmission_openvpn_webui_port: "9093"
transmission_openvpn_external_port: "51415"
### ###
### Joomla ### Joomla
@ -333,6 +339,7 @@ transmission_local_network: "192.168.1.0/24"
joomla_data_directory: "{{ docker_home }}/joomla" joomla_data_directory: "{{ docker_home }}/joomla"
joomla_available_externally: "false" joomla_available_externally: "false"
joomla_database_password: top_secret joomla_database_password: top_secret
joomla_port: "8181"
### ###
### pyLoad ### pyLoad
@ -340,9 +347,9 @@ joomla_database_password: top_secret
pyload_available_externally: "false" pyload_available_externally: "false"
pyload_config_directory: "{{ docker_home }}/pyload" pyload_config_directory: "{{ docker_home }}/pyload"
pyload_download_directory: "{{ downloads_root }}" pyload_download_directory: "{{ downloads_root }}"
pyload_user_id: 0 pyload_user_id: "0"
pyload_group_id: 0 pyload_group_id: "0"
pyload_port: "8000"
### ###
### Plex ### Plex
@ -360,8 +367,9 @@ plex_photos_directory: "{{ photos_root }}"
plex_photos_permissions: "rw" plex_photos_permissions: "rw"
plex_music_directory: "{{ music_root }}" plex_music_directory: "{{ music_root }}"
plex_music_permissions: "rw" plex_music_permissions: "rw"
plex_user_id: 0 plex_user_id: "0"
plex_group_id: 0 plex_group_id: "0"
plex_port: "32400"
### ###
### Homebridge ### Homebridge
@ -370,6 +378,7 @@ homebridge_available_externally: "false"
homebridge_config_directory: "{{ docker_home }}/homebridge/config" homebridge_config_directory: "{{ docker_home }}/homebridge/config"
homebridge_user_id: "0" homebridge_user_id: "0"
homebridge_group_id: "0" homebridge_group_id: "0"
homebridge_port: "8087"
### ###
### Emby ### Emby
@ -382,24 +391,26 @@ emby_movies_directory: "{{ movies_root }}"
emby_movies_permissions: "rw" emby_movies_permissions: "rw"
emby_tv_directory: "{{ tv_root }}" emby_tv_directory: "{{ tv_root }}"
emby_tv_permissions: "rw" emby_tv_permissions: "rw"
emby_user_id: 0 emby_user_id: "0"
emby_group_id: 0 emby_group_id: "0"
emby_port_http: "8096"
emby_port_https: "8920"
### ###
### Tautulli ### Tautulli
### ###
tautulli_available_externally: "false" tautulli_available_externally: "false"
tautulli_config_directory: "{{ docker_home }}/tautulli/config" tautulli_config_directory: "{{ docker_home }}/tautulli/config"
tautulli_user_id: 0 tautulli_user_id: "0"
tautulli_group_id: 0 tautulli_group_id: "0"
tautulli_port: "8185"
### ###
### Duplicati ### Duplicati
### ###
duplicati_available_externally: "false" duplicati_available_externally: "false"
duplicati_data_directory: "{{ docker_home }}/duplicati/config" duplicati_data_directory: "{{ docker_home }}/duplicati/config"
duplicati_port: "8200"
### ###
### Sonarr ### Sonarr
@ -408,9 +419,9 @@ sonarr_available_externally: "false"
sonarr_data_directory: "{{ docker_home }}/sonarr/config" sonarr_data_directory: "{{ docker_home }}/sonarr/config"
sonarr_tv_directory: "{{ tv_root }}" sonarr_tv_directory: "{{ tv_root }}"
sonarr_download_directory: "{{ downloads_root }}" sonarr_download_directory: "{{ downloads_root }}"
sonarr_user_id: 0 sonarr_user_id: "0"
sonarr_group_id: 0 sonarr_group_id: "0"
sonarr_port: "8989"
### ###
### Radarr ### Radarr
@ -419,8 +430,9 @@ radarr_available_externally: "false"
radarr_movies_directory: "{{ movies_root }}" radarr_movies_directory: "{{ movies_root }}"
radarr_download_directory: "{{ downloads_root }}" radarr_download_directory: "{{ downloads_root }}"
radarr_data_directory: "{{ docker_home }}/radarr" radarr_data_directory: "{{ docker_home }}/radarr"
radarr_user_id: 0 radarr_user_id: "0"
radarr_group_id: 0 radarr_group_id: "0"
radarr_port: "7878"
### ###
### Bazarr ### Bazarr
@ -431,7 +443,7 @@ bazarr_tv_directory: "{{ tv_root }}"
bazarr_movies_directory: "{{ movies_root }}" bazarr_movies_directory: "{{ movies_root }}"
bazarr_user_id: "0" bazarr_user_id: "0"
bazarr_group_id: "0" bazarr_group_id: "0"
bazarr_port: "6767"
### ###
### Couchpotato ### Couchpotato
@ -441,9 +453,9 @@ couchpotato_config_directory: "{{ docker_home }}/couchpotato/config"
couchpotato_movies_directory: "{{ movies_root }}" couchpotato_movies_directory: "{{ movies_root }}"
couchpotato_downloads_directory: "{{ downloads_root }}" couchpotato_downloads_directory: "{{ downloads_root }}"
couchpotato_torrents_directory: "{{ torrents_root }}" couchpotato_torrents_directory: "{{ torrents_root }}"
couchpotato_user_id: 0 couchpotato_user_id: "0"
couchpotato_group_id: 0 couchpotato_group_id: "0"
couchpotato_port: "5050"
### ###
### Sickchill ### Sickchill
@ -452,13 +464,15 @@ sickchill_available_externally: "false"
sickchill_config_directory: "{{ docker_home }}/sickchill/config" sickchill_config_directory: "{{ docker_home }}/sickchill/config"
sickchill_tv_directory: "{{ tv_root }}" sickchill_tv_directory: "{{ tv_root }}"
sickchill_downloads_directory: "{{ downloads_root }}/completed" sickchill_downloads_directory: "{{ downloads_root }}/completed"
sickchill_user_id: 0 sickchill_user_id: "0"
sickchill_group_id: 0 sickchill_group_id: "0"
sickchill_port: "8081"
### ###
### Netdata ### Netdata
### ###
netdata_available_externally: "false" netdata_available_externally: "false"
netdata_port: "19999"
### ###
### OpenVPN ### OpenVPN
@ -471,16 +485,16 @@ openvpn_config_directory: "{{ docker_home }}/openvpn"
### ###
portainer_available_externally: "false" portainer_available_externally: "false"
portainer_data_directory: "{{ docker_home }}/portainer/config" portainer_data_directory: "{{ docker_home }}/portainer/config"
portainer_port: "9000"
### ###
### ZNC ### ZNC
### ###
znc_available_externally: "false" znc_available_externally: "false"
znc_data_directory: "{{ docker_home }}/znc" znc_data_directory: "{{ docker_home }}/znc"
znc_user_id: 0 znc_user_id: "0"
znc_group_id: 0 znc_group_id: "0"
znc_port: "6677"
### ###
### Stats ### Stats
@ -490,28 +504,37 @@ telegraf_data_directory: "{{ docker_home }}/telegraf"
influxdb_data_directory: "{{ docker_home }}/influxdb" influxdb_data_directory: "{{ docker_home }}/influxdb"
grafana_data_directory: "{{ docker_home }}/grafana" grafana_data_directory: "{{ docker_home }}/grafana"
stat_collection_interval: 15s stat_collection_interval: 15s
grafana_influxdb_port: "8086"
grafana_port: "3000"
### ###
### Gitea ### Gitea
### ###
gitea_available_externally: "false" gitea_available_externally: "false"
gitea_data_directory: "{{ docker_home }}/gitea" gitea_data_directory: "{{ docker_home }}/gitea"
gitea_port_http: "3001"
gitea_port_ssh: "222"
### ###
### Glances ### Glances
### ###
glances_available_externally: "false" glances_available_externally: "false"
glances_port_one: "61208"
glances_port_two: "61209"
### ###
### Nextcloud ### Nextcloud
### ###
nextcloud_available_externally: "false" nextcloud_available_externally: "false"
nextcloud_data_directory: "{{ docker_home }}/nextcloud" nextcloud_data_directory: "{{ docker_home }}/nextcloud"
nextcloud_port: "8080"
### ###
### nginx ### nginx
### ###
nginx_data_directory: "{{ docker_home }}/nginx" nginx_data_directory: "{{ docker_home }}/nginx"
nginx_port_http: "80"
nginx_port_https: "443"
### ###
### Guacamole ### Guacamole
@ -520,6 +543,7 @@ guacamole_available_externally: "false"
guacamole_docker_image: guacamole/guacamole:0.9.14 guacamole_docker_image: guacamole/guacamole:0.9.14
guacamole_guacd_docker_image: guacamole/guacd:0.9.14 guacamole_guacd_docker_image: guacamole/guacd:0.9.14
guacamole_data_directory: "{{ docker_home }}/guacamole" guacamole_data_directory: "{{ docker_home }}/guacamole"
guacamole_port: "8090"
### ###
### Miniflux ### Miniflux
@ -528,12 +552,14 @@ miniflux_available_externally: "false"
miniflux_data_directory: "{{ docker_home }}/miniflux" miniflux_data_directory: "{{ docker_home }}/miniflux"
miniflux_admin_username: admin miniflux_admin_username: admin
miniflux_admin_password: supersecure miniflux_admin_password: supersecure
miniflux_port: "8070"
### ###
### Airsonic ### Airsonic
### ###
airsonic_available_externally: "false" airsonic_available_externally: "false"
airsonic_data_directory: "{{ docker_home }}/airsonic" airsonic_data_directory: "{{ docker_home }}/airsonic"
airsonic_port: "4040"
### ###
### CloudCmd ### CloudCmd
@ -543,6 +569,7 @@ cloudcmd_data_directory: "{{ docker_home }}/cloudcmd/config"
cloudcmd_browse_directory: "/" cloudcmd_browse_directory: "/"
cloudcmd_user_id: "0" cloudcmd_user_id: "0"
cloudcmd_group_id: "0" cloudcmd_group_id: "0"
cloudcmd_port: "7373"
### ###
### Watchtower ### Watchtower
@ -578,12 +605,14 @@ timemachine_port: "10445"
minidlna_media_directory1: "{{ movies_root }}" minidlna_media_directory1: "{{ movies_root }}"
minidlna_media_directory2: "{{ tv_root }}" minidlna_media_directory2: "{{ tv_root }}"
minidlna_friendly_name: "{{ ansible_nas_hostname }}" minidlna_friendly_name: "{{ ansible_nas_hostname }}"
minidlna_port: "8201"
### ###
### get_iplayer ### get_iplayer
### ###
get_iplayer_config_directory: "{{ docker_home }}/get_iplayer" get_iplayer_config_directory: "{{ docker_home }}/get_iplayer"
get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads" get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads"
get_iplayer_port: "8182"
### ###
### mymediaforalexa ### mymediaforalexa
@ -596,18 +625,23 @@ mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
### ###
jackett_available_externally: "false" jackett_available_externally: "false"
jackett_data_directory: "{{ docker_home }}/jackett" jackett_data_directory: "{{ docker_home }}/jackett"
jackett_port: "9117"
### ###
### The Lounge ### The Lounge
### ###
thelounge_available_externally: "false" thelounge_available_externally: "false"
thelounge_data_directory: "{{ docker_home }}/thelounge" thelounge_data_directory: "{{ docker_home }}/thelounge"
thelounge_port_one: "113"
thelounge_port_two: "9002"
### ###
### Bitwarden ### Bitwarden
### ###
bitwarden_available_externally: "false" bitwarden_available_externally: "false"
bitwarden_data_directory: "{{ docker_home }}/bitwarden" bitwarden_data_directory: "{{ docker_home }}/bitwarden"
bitwarden_port_a: "19080"
bitwarden_port_b: "3012"
# Keep this token secret, this is password to access admin area of your server! # Keep this token secret, this is password to access admin area of your server!
# This token can be anything, but it's recommended to use a long, randomly generated string of characters, # This token can be anything, but it's recommended to use a long, randomly generated string of characters,
@ -624,6 +658,7 @@ bitwarden_allow_signups: false
### ###
firefly_available_externally: "false" firefly_available_externally: "false"
firefly_data_directory: "{{ docker_home }}/firefly" firefly_data_directory: "{{ docker_home }}/firefly"
firefly_port: "8066"
### ###
### Nzbget ### Nzbget
@ -631,20 +666,24 @@ firefly_data_directory: "{{ docker_home }}/firefly"
nzbget_available_externally: "false" nzbget_available_externally: "false"
nzbget_data_directory: "{{ docker_home }}/nzbget" nzbget_data_directory: "{{ docker_home }}/nzbget"
nzbget_download_directory: "{{ downloads_root }}" nzbget_download_directory: "{{ downloads_root }}"
nzbget_user_id: 0 nzbget_user_id: "0"
nzbget_group_id: 0 nzbget_group_id: "0"
nzbget_port: "6789"
### ###
### Wallabag ### Wallabag
### ###
wallabag_available_externally: "false" wallabag_available_externally: "false"
wallabag_data_directory: "{{ docker_home }}/wallabag" wallabag_data_directory: "{{ docker_home }}/wallabag"
wallabag_port: "7780"
### ###
### Mosquitto ### Mosquitto
### ###
mosquitto_available_externally: "false" mosquitto_available_externally: "false"
mosquitto_data_directory: "{{ docker_home }}/mosquitto" mosquitto_data_directory: "{{ docker_home }}/mosquitto"
mosquitto_port_a: "1883"
mosquitto_port_b: "9001"
### ###
### Calibre ### Calibre
@ -653,6 +692,7 @@ calibre_available_externally: "false"
calibre_data_directory: "{{ docker_home }}/calibre" calibre_data_directory: "{{ docker_home }}/calibre"
calibre_user_id: "0" calibre_user_id: "0"
calibre_group_id: "0" calibre_group_id: "0"
calibre_port: "8084"
# To disable ebook conversion set calibre_ebook_conversion to "". To enable it set it to "linuxserver/calibre-web:calibre" # To disable ebook conversion set calibre_ebook_conversion to "". To enable it set it to "linuxserver/calibre-web:calibre"
calibre_ebook_conversion: "linuxserver/calibre-web:calibre" calibre_ebook_conversion: "linuxserver/calibre-web:calibre"
@ -661,6 +701,7 @@ calibre_ebook_conversion: "linuxserver/calibre-web:calibre"
### ###
homeassistant_available_externally: "false" homeassistant_available_externally: "false"
homeassistant_data_directory: "{{ docker_home }}/homeassistant" homeassistant_data_directory: "{{ docker_home }}/homeassistant"
homeassistant_port: "8123"
### ###
### openHAB ### openHAB
@ -668,6 +709,8 @@ homeassistant_data_directory: "{{ docker_home }}/homeassistant"
openhab_available_externally: "false" openhab_available_externally: "false"
openhab_docker_image: openhab/openhab:latest openhab_docker_image: openhab/openhab:latest
openhab_data_directory: "{{ docker_home }}/openhab" openhab_data_directory: "{{ docker_home }}/openhab"
openhab_port_http: "7777"
openhab_port_https: "7778"
### ###
### Jellyfin ### Jellyfin
@ -682,3 +725,5 @@ jellyfin_tv_directory: "{{ tv_root }}"
jellyfin_tv_permissions: "rw" jellyfin_tv_permissions: "rw"
jellyfin_user_id: "0" jellyfin_user_id: "0"
jellyfin_group_id: "0" jellyfin_group_id: "0"
jellyfin_port_http: "8896"
jellyfin_port_https: "8928"

View file

@ -19,12 +19,12 @@
- "{{ samba_shares_root }}/music:/airsonic/music:rw" - "{{ samba_shares_root }}/music:/airsonic/music:rw"
- "{{ samba_shares_root }}/podcasts:/airsonic/podcasts:rw" - "{{ samba_shares_root }}/podcasts:/airsonic/podcasts:rw"
ports: ports:
- "4040:4040" - "{{ airsonic_port }}:4040"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g
labels: labels:
traefik.backend: "airsonic" traefik.backend: "airsonic"
traefik.frontend.rule: "Host:airsonic.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:airsonic.{{ ansible_nas_domain }}"
traefik.enable: "{{ airsonic_available_externally }}" traefik.enable: "{{ airsonic_available_externally }}"
traefik.port: "4040" traefik.port: "{{ airsonic_port }}"

View file

@ -16,7 +16,7 @@
- "{{ bazarr_movies_directory }}:/movies:rw" - "{{ bazarr_movies_directory }}:/movies:rw"
- "{{ bazarr_data_directory }}:/config:rw" - "{{ bazarr_data_directory }}:/config:rw"
ports: ports:
- "6767:6767" - "{{ bazarr_port }}:6767"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ bazarr_user_id }}" PUID: "{{ bazarr_user_id }}"
@ -27,4 +27,4 @@
traefik.backend: "bazarr" traefik.backend: "bazarr"
traefik.frontend.rule: "Host:bazarr.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:bazarr.{{ ansible_nas_domain }}"
traefik.enable: "{{ bazarr_available_externally }}" traefik.enable: "{{ bazarr_available_externally }}"
traefik.port: "6767" traefik.port: "{{ bazarr_port }}"

View file

@ -11,8 +11,8 @@
image: mprasil/bitwarden:latest image: mprasil/bitwarden:latest
pull: true pull: true
ports: ports:
- "19080:80" - "{{ bitwarden_port_a }}:80"
- "3012:3012" - "{{ bitwarden_port_b }}:3012"
volumes: volumes:
- "{{ bitwarden_data_directory }}:/data:rw" - "{{ bitwarden_data_directory }}:/data:rw"
env: env:
@ -23,9 +23,9 @@
labels: labels:
traefik.web.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }}" traefik.web.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }}"
traefik.enable: "{{ bitwarden_available_externally }}" traefik.enable: "{{ bitwarden_available_externally }}"
traefik.web.port: "80" traefik.web.port: "bitwarden_port_a"
traefik.hub.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }};Path:/notifications/hub" traefik.hub.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }};Path:/notifications/hub"
traefik.hub.port: "3012" traefik.hub.port: "bitwarden_port_b"
traefik.hub.protocol: "ws" traefik.hub.protocol: "ws"
restart_policy: unless-stopped restart_policy: unless-stopped
#memory: 1g #memory: 1g

View file

@ -19,11 +19,11 @@
PGID: "{{ calibre_group_id }}" PGID: "{{ calibre_group_id }}"
DOCKER_MODS: "{{ calibre_ebook_conversion }}" DOCKER_MODS: "{{ calibre_ebook_conversion }}"
ports: ports:
- "8084:8083" - "{{ calibre_port }}:8083"
restart_policy: unless-stopped restart_policy: unless-stopped
labels: labels:
traefik.backend: "calibre" traefik.backend: "calibre"
traefik.frontend.rule: "Host:calibre.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:calibre.{{ ansible_nas_domain }}"
traefik.enable: "{{ calibre_available_externally }}" traefik.enable: "{{ calibre_available_externally }}"
traefik.port: "8083" traefik.port: "{{ calibre_port }} "
memory: 1g memory: 1g

View file

@ -15,7 +15,7 @@
- "{{ cloudcmd_data_directory }}:/config:rw" - "{{ cloudcmd_data_directory }}:/config:rw"
- "{{ cloudcmd_browse_directory }}:/mnt/fs" - "{{ cloudcmd_browse_directory }}:/mnt/fs"
ports: ports:
- "7373:8000" - "{{ cloudcmd_port }}:8000"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ cloudcmd_user_id }}" PUID: "{{ cloudcmd_user_id }}"
@ -26,4 +26,4 @@
traefik.backend: "cloudcmd" traefik.backend: "cloudcmd"
traefik.frontend.rule: "Host:cloudcmd.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:cloudcmd.{{ ansible_nas_domain }}"
traefik.enable: "{{ cloudcmd_available_externally }}" traefik.enable: "{{ cloudcmd_available_externally }}"
traefik.port: "8000" traefik.port: "{{ cloudcmd_port }}"

View file

@ -18,7 +18,7 @@
- "{{ couchpotato_movies_directory }}:/movies:rw" - "{{ couchpotato_movies_directory }}:/movies:rw"
- "{{ couchpotato_torrents_directory }}:/torrents:rw" - "{{ couchpotato_torrents_directory }}:/torrents:rw"
ports: ports:
- "5050:5050" - "{{ couchpotato_port }}:5050"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ couchpotato_user_id }}" PUID: "{{ couchpotato_user_id }}"
@ -29,4 +29,4 @@
traefik.backend: "couchpotato" traefik.backend: "couchpotato"
traefik.frontend.rule: "Host:couchpotato.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:couchpotato.{{ ansible_nas_domain }}"
traefik.enable: "{{ couchpotato_available_externally }}" traefik.enable: "{{ couchpotato_available_externally }}"
traefik.port: "5050" traefik.port: "{{ couchpotato_port }}"

View file

@ -12,7 +12,7 @@
image: linuxserver/duplicati image: linuxserver/duplicati
pull: true pull: true
ports: ports:
- "8200:8200" - "{{ duplicati_port }}:8200"
volumes: volumes:
- "{{ duplicati_data_directory }}:/config:rw" - "{{ duplicati_data_directory }}:/config:rw"
- "{{ samba_shares_root }}:/source/shares:ro" - "{{ samba_shares_root }}:/source/shares:ro"
@ -24,4 +24,4 @@
traefik.backend: "duplicati" traefik.backend: "duplicati"
traefik.frontend.rule: "Host:duplicati.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:duplicati.{{ ansible_nas_domain }}"
traefik.enable: "{{ duplicati_available_externally }}" traefik.enable: "{{ duplicati_available_externally }}"
traefik.port: "8200" traefik.port: "{{ duplicati_port }}"

View file

@ -15,8 +15,8 @@
- "{{ emby_movies_directory }}:/movies:{{ emby_movies_permissions }}" - "{{ emby_movies_directory }}:/movies:{{ emby_movies_permissions }}"
- "{{ emby_tv_directory }}:/tv:{{ emby_tv_permissions }}" - "{{ emby_tv_directory }}:/tv:{{ emby_tv_permissions }}"
ports: ports:
- "8096:8096" # HTTP port - "{{ emby_port_http }}:8096"
- "8920:8920" # HTTPS port - "{{ emby_port_https }}:8920"
network_mode: host network_mode: host
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
@ -28,4 +28,4 @@
traefik.backend: "emby" traefik.backend: "emby"
traefik.frontend.rule: "Host:emby.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:emby.{{ ansible_nas_domain }}"
traefik.enable: "{{ emby_available_externally }}" traefik.enable: "{{ emby_available_externally }}"
traefik.port: "8096" traefik.port: "{{ emby_port_https }}"

View file

@ -38,7 +38,7 @@
links: links:
- firefly-mysql:db - firefly-mysql:db
ports: ports:
- "8066:80" - "{{ firefly_port }}:80"
env: env:
APP_ENV: "local" APP_ENV: "local"
APP_KEY: "S0m3R@nd0mString0f32Ch@rsEx@ct1y" APP_KEY: "S0m3R@nd0mString0f32Ch@rsEx@ct1y"
@ -53,4 +53,4 @@
traefik.backend: "firefly" traefik.backend: "firefly"
traefik.frontend.rule: "Host:firefly.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:firefly.{{ ansible_nas_domain }}"
traefik.enable: "{{ firefly_available_externally }}" traefik.enable: "{{ firefly_available_externally }}"
traefik.port: "8080" traefik.port: "{{ firefly_port }}"

View file

@ -15,7 +15,7 @@
- "{{ get_iplayer_config_directory }}:/root/.get_iplayer:rw" - "{{ get_iplayer_config_directory }}:/root/.get_iplayer:rw"
- "{{ get_iplayer_download_directory }}:/root/output:rw" - "{{ get_iplayer_download_directory }}:/root/output:rw"
ports: ports:
- "8182:8181" - "{{ get_iplayer_port }}:8181"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g

View file

@ -51,8 +51,8 @@
volumes: volumes:
- "{{ gitea_data_directory }}/gitea:/data:rw" - "{{ gitea_data_directory }}/gitea:/data:rw"
ports: ports:
- "3001:3000" - "{{ gitea_port_http }}:3000"
- "222:22" - "{{ gitea_port_ssh }}:22"
env: env:
DB_TYPE: "mysql" DB_TYPE: "mysql"
DB_HOST: "db:3306" DB_HOST: "db:3306"
@ -61,8 +61,8 @@
DB_PASSWD: "gitea" DB_PASSWD: "gitea"
RUN_MODE: "prod" RUN_MODE: "prod"
SSH_DOMAIN: "{{ ansible_nas_hostname }}" SSH_DOMAIN: "{{ ansible_nas_hostname }}"
SSH_PORT: "222" SSH_PORT: "{{ gitea_port_ssh }}"
ROOT_URL: "http://{{ ansible_nas_hostname }}:3001/" ROOT_URL: "http://{{ ansible_nas_hostname }}:{{ gitea_port_http }}/"
USER_UID: "1309" USER_UID: "1309"
USER_GID: "1309" USER_GID: "1309"
restart_policy: unless-stopped restart_policy: unless-stopped
@ -71,4 +71,4 @@
traefik.backend: "gitea" traefik.backend: "gitea"
traefik.frontend.rule: "Host:gitea.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:gitea.{{ ansible_nas_domain }}"
traefik.enable: "{{ gitea_available_externally }}" traefik.enable: "{{ gitea_available_externally }}"
traefik.port: "3000" traefik.port: "{{ gitea_port_http }}"

View file

@ -4,8 +4,8 @@
image: nicolargo/glances image: nicolargo/glances
pull: true pull: true
ports: ports:
- "61208:61208" - "{{ glances_port_one }}:61208"
- "61209:61209" - "{{ glances_port_two }}:61209"
volumes: volumes:
#- "/glances.conf:/glances/conf/glances.conf" #- "/glances.conf:/glances/conf/glances.conf"
- "/var/run/docker.sock:/var/run/docker.sock:ro" - "/var/run/docker.sock:/var/run/docker.sock:ro"
@ -20,4 +20,4 @@
traefik.backend: "glances" traefik.backend: "glances"
traefik.frontend.rule: "Host:glances.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:glances.{{ ansible_nas_domain }}"
traefik.enable: "{{ glances_available_externally }}" traefik.enable: "{{ glances_available_externally }}"
traefik.port: "61208" traefik.port: "{{ glances_port_one }}"

View file

@ -44,7 +44,7 @@
- guacamole-mysql:mysql - guacamole-mysql:mysql
- guacamole-guacd:guacd - guacamole-guacd:guacd
ports: ports:
- "8090:8080" - "{{ guacamole_port }}:8080"
env: env:
MYSQL_DATABASE: "guacamole" MYSQL_DATABASE: "guacamole"
MYSQL_USER: "guacamole-user" MYSQL_USER: "guacamole-user"
@ -55,4 +55,4 @@
traefik.backend: "guacamole" traefik.backend: "guacamole"
traefik.frontend.rule: "Host:guacamole.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:guacamole.{{ ansible_nas_domain }}"
traefik.enable: "{{ guacamole_available_externally }}" traefik.enable: "{{ guacamole_available_externally }}"
traefik.port: "8080" traefik.port: "{{ guacamole_port }}"

View file

@ -36,12 +36,12 @@
PGID: "1310" PGID: "1310"
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
ports: ports:
- "10080:80" - "{{ heimdall_port_http }}:80"
- "10443:443" - "{{ heimdall_port_https }}:443"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g
labels: labels:
traefik.backend: "heimdall" traefik.backend: "heimdall"
traefik.frontend.rule: "Host:heimdall.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:heimdall.{{ ansible_nas_domain }}"
traefik.enable: "{{ heimdall_available_externally }}" traefik.enable: "{{ heimdall_available_externally }}"
traefik.port: "80" traefik.port: "{{ heimdall_port_http }}"

View file

@ -13,7 +13,7 @@
volumes: volumes:
- "{{ homeassistant_data_directory }}/config:/config:rw" - "{{ homeassistant_data_directory }}/config:/config:rw"
ports: ports:
- "8123:8123" - "{{ homeassistant_port }}:8123"
restart_policy: unless-stopped restart_policy: unless-stopped
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
@ -21,6 +21,6 @@
traefik.backend: "homeassistant" traefik.backend: "homeassistant"
traefik.frontend.rule: "Host:homeassistant.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:homeassistant.{{ ansible_nas_domain }}"
traefik.enable: "{{ homeassistant_available_externally }}" traefik.enable: "{{ homeassistant_available_externally }}"
traefik.port: "8123" traefik.port: "{{ homeassistant_port }}"
traefik.frontend.headers.SSLRedirect: "true" traefik.frontend.headers.SSLRedirect: "true"
memory: 1g memory: 1g

View file

@ -19,11 +19,11 @@
PGID: "{{ homebridge_group_id }}" PGID: "{{ homebridge_group_id }}"
PUID: "{{ homebridge_user_id }}" PUID: "{{ homebridge_user_id }}"
HOMEBRIDGE_CONFIG_UI: "1" HOMEBRIDGE_CONFIG_UI: "1"
HOMEBRIDGE_CONFIG_UI_PORT: "8087" HOMEBRIDGE_CONFIG_UI_PORT: "{{ homebridge_port }}"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g
labels: labels:
traefik.backend: "homebridge" traefik.backend: "homebridge"
traefik.frontend.rule: "Host:homebridge.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:homebridge.{{ ansible_nas_domain }}"
traefik.enable: "{{ homebridge_available_externally }}" traefik.enable: "{{ homebridge_available_externally }}"
traefik.port: "8087" traefik.port: "{{ homebridge_port }}"

View file

@ -15,7 +15,7 @@
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "{{ torrents_root }}:/downloads" - "{{ torrents_root }}:/downloads"
ports: ports:
- "9117:9117" - "{{ jackett_port }}:9117"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
restart_policy: unless-stopped restart_policy: unless-stopped
@ -23,4 +23,4 @@
traefik.backend: "jackett" traefik.backend: "jackett"
traefik.frontend.rule: "Host:jackett.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:jackett.{{ ansible_nas_domain }}"
traefik.enable: "{{ jackett_available_externally }}" traefik.enable: "{{ jackett_available_externally }}"
traefik.port: "9117" traefik.port: "{{ jackett_port }}"

View file

@ -15,8 +15,8 @@
- "{{ jellyfin_movies_directory }}:/movies:{{ jellyfin_movies_permissions }}" - "{{ jellyfin_movies_directory }}:/movies:{{ jellyfin_movies_permissions }}"
- "{{ jellyfin_tv_directory }}:/tv:{{ jellyfin_tv_permissions }}" - "{{ jellyfin_tv_directory }}:/tv:{{ jellyfin_tv_permissions }}"
ports: ports:
- "8896:8096" # HTTP port - "{{ jellyfin_port_http }}:8096"
- "8928:8920" # HTTPS port - "{{ jellyfin_port_https }}:8920"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ jellyfin_user_id }}" PUID: "{{ jellyfin_user_id }}"
@ -27,4 +27,4 @@
traefik.backend: "jellyfin" traefik.backend: "jellyfin"
traefik.frontend.rule: "Host:jellyfin.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:jellyfin.{{ ansible_nas_domain }}"
traefik.enable: "{{ jellyfin_available_externally }}" traefik.enable: "{{ jellyfin_available_externally }}"
traefik.port: "8096" traefik.port: "{{ jellyfin_port_https }}"

View file

@ -29,7 +29,7 @@
volumes: volumes:
- "{{ joomla_data_directory }}:/var/www/html:rw" - "{{ joomla_data_directory }}:/var/www/html:rw"
ports: ports:
- "8181:80" - "{{ joomla_port }}:80"
links: links:
- "joomla_mysql:mysql" - "joomla_mysql:mysql"
env: env:
@ -42,4 +42,4 @@
traefik.backend: "joomla" traefik.backend: "joomla"
traefik.frontend.rule: "Host: joomla.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host: joomla.{{ ansible_nas_domain }}"
traefik.enable: "{{ joomla_available_externally }}" traefik.enable: "{{ joomla_available_externally }}"
traefik.port: "80" traefik.port: "{{ joomla_port }}"

View file

@ -7,12 +7,12 @@
- "{{ minidlna_media_directory1 }}:/media1:rw" - "{{ minidlna_media_directory1 }}:/media1:rw"
- "{{ minidlna_media_directory2 }}:/media2:rw" - "{{ minidlna_media_directory2 }}:/media2:rw"
ports: ports:
- "8201:8201" - "{{ minidlna_port }}:8201"
env: env:
MINIDLNA_MEDIA_DIR1: "/media1" MINIDLNA_MEDIA_DIR1: "/media1"
MINIDLNA_MEDIA_DIR2: "/media2" MINIDLNA_MEDIA_DIR2: "/media2"
MINIDLNA_FRIENDLY_NAME: "{{ minidlna_friendly_name }}" MINIDLNA_FRIENDLY_NAME: "{{ minidlna_friendly_name }}"
MINIDLNA_PORT: "8201" MINIDLNA_PORT: "{{ minidlna_port }}"
network_mode: host network_mode: host
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g

View file

@ -26,7 +26,7 @@
links: links:
- miniflux-postgres:db - miniflux-postgres:db
ports: ports:
- "8070:8080" - "{{ miniflux_port }}:8080"
env: env:
DATABASE_URL: "postgres://miniflux:supersecure@db/miniflux?sslmode=disable" DATABASE_URL: "postgres://miniflux:supersecure@db/miniflux?sslmode=disable"
RUN_MIGRATIONS: "1" RUN_MIGRATIONS: "1"
@ -39,4 +39,4 @@
traefik.backend: "miniflux" traefik.backend: "miniflux"
traefik.frontend.rule: "Host:miniflux.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:miniflux.{{ ansible_nas_domain }}"
traefik.enable: "{{ miniflux_available_externally }}" traefik.enable: "{{ miniflux_available_externally }}"
traefik.port: "8080" traefik.port: "{{ miniflux_port }}"

View file

@ -23,7 +23,7 @@
- "{{ mosquitto_data_directory }}/data:/mosquitto/data:rw" - "{{ mosquitto_data_directory }}/data:/mosquitto/data:rw"
- "{{ mosquitto_data_directory }}/log:/mosquitto/log:rw" - "{{ mosquitto_data_directory }}/log:/mosquitto/log:rw"
ports: ports:
- "1883:1883" - "{{ mosquitto_port_a }}:1883"
- "9001:9001" - "{{ mosquitto_port_b }}:9001"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g

View file

@ -12,7 +12,7 @@
state: started state: started
pull: true pull: true
ports: ports:
- "19999:19999" - "{{ netdata_port }}:19999"
volumes: volumes:
- "/proc:/host/proc:ro" - "/proc:/host/proc:ro"
- "/sys:/host/sys:ro" - "/sys:/host/sys:ro"
@ -29,4 +29,4 @@
traefik.backend: "netdata" traefik.backend: "netdata"
traefik.frontend.rule: "Host:netdata.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:netdata.{{ ansible_nas_domain }}"
traefik.enable: "{{ netdata_available_externally }}" traefik.enable: "{{ netdata_available_externally }}"
traefik.port: "19999" traefik.port: "{{ netdata_port }}"

View file

@ -32,7 +32,7 @@
volumes: volumes:
- "{{ nextcloud_data_directory }}/nextcloud:/var/www/html:rw" - "{{ nextcloud_data_directory }}/nextcloud:/var/www/html:rw"
ports: ports:
- "8080:80" - "{{ nextcloud_port }}:80"
env: env:
MYSQL_HOST: "mysql" MYSQL_HOST: "mysql"
MYSQL_DATABASE: "nextcloud" MYSQL_DATABASE: "nextcloud"
@ -45,4 +45,4 @@
traefik.backend: "nextcloud" traefik.backend: "nextcloud"
traefik.frontend.rule: "Host:nextcloud.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:nextcloud.{{ ansible_nas_domain }}"
traefik.enable: "{{ nextcloud_available_externally }}" traefik.enable: "{{ nextcloud_available_externally }}"
traefik.port: "80" traefik.port: "{{ nextcloud_port }}"

View file

@ -15,8 +15,8 @@
image: jwilder/nginx-proxy image: jwilder/nginx-proxy
pull: true pull: true
ports: ports:
- "80:80" - "{{ nginx_port_http }}:80"
- "443:443" - "{{ nginx_port_https }}:443"
volumes: volumes:
- "{{ nginx_data_directory }}/certs:/etc/nginx/certs:ro" - "{{ nginx_data_directory }}/certs:/etc/nginx/certs:ro"
- "{{ nginx_data_directory }}/vhost.d:/etc/nginx/vhost.d:rw" - "{{ nginx_data_directory }}/vhost.d:/etc/nginx/vhost.d:rw"

View file

@ -15,7 +15,7 @@
- "{{ nzbget_download_directory }}:/downloads:rw" - "{{ nzbget_download_directory }}:/downloads:rw"
- "{{ nzbget_data_directory }}:/config:rw" - "{{ nzbget_data_directory }}:/config:rw"
ports: ports:
- "6789:6789" - "{{ nzbget_port }}:6789"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ nzbget_user_id }}" PUID: "{{ nzbget_user_id }}"
@ -26,4 +26,4 @@
traefik.backend: "nzbget" traefik.backend: "nzbget"
traefik.frontend.rule: "Host:nzbget.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:nzbget.{{ ansible_nas_domain }}"
traefik.enable: "{{ nzbget_available_externally }}" traefik.enable: "{{ nzbget_available_externally }}"
traefik.port: "6789" traefik.port: "{{ nzbget_port }}"

View file

@ -40,12 +40,12 @@
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro" - "/etc/timezone:/etc/timezone:ro"
env: env:
OPENHAB_HTTP_PORT: "7777" OPENHAB_HTTP_PORT: "{{ openhab_port_http }}"
OPENHAB_HTTPS_PORT: "7778" OPENHAB_HTTPS_PORT: "{{ openhab_port_https }}"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g
labels: labels:
traefik.backend: "openhab" traefik.backend: "openhab"
traefik.frontend.rule: "Host:openhab.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:openhab.{{ ansible_nas_domain }}"
traefik.enable: "{{ openhab_available_externally }}" traefik.enable: "{{ openhab_available_externally }}"
traefik.port: "80" traefik.port: "{{ openhab_port_https }}"

View file

@ -16,12 +16,11 @@
- "/var/run/docker.sock:/var/run/docker.sock:ro" - "/var/run/docker.sock:/var/run/docker.sock:ro"
- "/etc/timezone:/etc/timezone:ro" - "/etc/timezone:/etc/timezone:ro"
ports: ports:
- "9000:9000" - "{{ portainer_port }}:9000"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g
labels: labels:
traefik.backend: "portainer" traefik.backend: "portainer"
traefik.frontend.rule: "Host:portainer.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:portainer.{{ ansible_nas_domain }}"
traefik.enable: "{{ portainer_available_externally }}" traefik.enable: "{{ portainer_available_externally }}"
traefik.port: "9000" traefik.port: "{{ portainer_port }}"

View file

@ -17,7 +17,7 @@
- "{{ pyload_config_directory }}:/opt/pyload/pyload-config:rw" - "{{ pyload_config_directory }}:/opt/pyload/pyload-config:rw"
- "{{ pyload_download_directory }}:/opt/pyload/Downloads:rw" - "{{ pyload_download_directory }}:/opt/pyload/Downloads:rw"
ports: ports:
- "8000:8000" - "{{ pyload_port }}:8000"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
UID: "{{ pyload_user_id }}" UID: "{{ pyload_user_id }}"
@ -28,4 +28,4 @@
traefik.backend: "pyload" traefik.backend: "pyload"
traefik.frontend.rule: "Host:pyload.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:pyload.{{ ansible_nas_domain }}"
traefik.enable: "{{ pyload_available_externally }}" traefik.enable: "{{ pyload_available_externally }}"
traefik.port: "8000" traefik.port: "{{ pyload_port }}"

View file

@ -16,7 +16,7 @@
- "{{ radarr_download_directory }}/complete:/downloads:rw" - "{{ radarr_download_directory }}/complete:/downloads:rw"
- "{{ radarr_data_directory }}:/config:rw" - "{{ radarr_data_directory }}:/config:rw"
ports: ports:
- "7878:7878" - "{{ radarr_port }}:7878"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ radarr_user_id }}" PUID: "{{ radarr_user_id }}"
@ -27,4 +27,4 @@
traefik.backend: "radarr" traefik.backend: "radarr"
traefik.frontend.rule: "Host:radarr.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:radarr.{{ ansible_nas_domain }}"
traefik.enable: "{{ radarr_available_externally }}" traefik.enable: "{{ radarr_available_externally }}"
traefik.port: "7878" traefik.port: "{{ radarr_port }}"

View file

@ -23,7 +23,7 @@
- "{{ sickchill_downloads_directory }}:/downloads:rw" - "{{ sickchill_downloads_directory }}:/downloads:rw"
- "{{ sickchill_tv_directory }}:/tv:rw" - "{{ sickchill_tv_directory }}:/tv:rw"
ports: ports:
- "8081:8081" - "{{ sickchill_port }}:8081"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ sickchill_user_id }}" PUID: "{{ sickchill_user_id }}"
@ -34,4 +34,4 @@
traefik.backend: "sickchill" traefik.backend: "sickchill"
traefik.frontend.rule: "Host:sickchill.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:sickchill.{{ ansible_nas_domain }}"
traefik.enable: "{{ sickchill_available_externally }}" traefik.enable: "{{ sickchill_available_externally }}"
traefik.port: "8081" traefik.port: "{{ sickchill_port }}"

View file

@ -16,7 +16,7 @@
- "{{ sonarr_download_directory }}/complete:/downloads:rw" - "{{ sonarr_download_directory }}/complete:/downloads:rw"
- "{{ sonarr_data_directory }}:/config:rw" - "{{ sonarr_data_directory }}:/config:rw"
ports: ports:
- "8989:8989" - "{{ sonarr_port }}:8989"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ sonarr_user_id }}" PUID: "{{ sonarr_user_id }}"
@ -27,4 +27,4 @@
traefik.backend: "sonarr" traefik.backend: "sonarr"
traefik.frontend.rule: "Host:sonarr.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:sonarr.{{ ansible_nas_domain }}"
traefik.enable: "{{ sonarr_available_externally }}" traefik.enable: "{{ sonarr_available_externally }}"
traefik.port: "8989" traefik.port: "{{ sonarr_port }}"

View file

@ -28,7 +28,7 @@
volumes: volumes:
- "{{ influxdb_data_directory }}:/var/lib/influxdb:rw" - "{{ influxdb_data_directory }}:/var/lib/influxdb:rw"
ports: ports:
- "8086:8086" - "{{ grafana_influxdb_port }}:8086"
restart_policy: unless-stopped restart_policy: unless-stopped
env: env:
INFLUXDB_LOGGING_LEVEL: "error" INFLUXDB_LOGGING_LEVEL: "error"
@ -64,11 +64,11 @@
- "{{ grafana_data_directory }}/data:/var/lib/grafana:rw" - "{{ grafana_data_directory }}/data:/var/lib/grafana:rw"
- "{{ grafana_data_directory }}/config/provisioning:/etc/grafana/provisioning:ro" - "{{ grafana_data_directory }}/config/provisioning:/etc/grafana/provisioning:ro"
ports: ports:
- "3000:3000" - "{{ grafana_port }}:3000"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: 1g memory: 1g
labels: labels:
traefik.backend: "grafana" traefik.backend: "grafana"
traefik.frontend.rule: "Host:grafana.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:grafana.{{ ansible_nas_domain }}"
traefik.enable: "{{ grafana_available_externally }}" traefik.enable: "{{ grafana_available_externally }}"
traefik.port: "3000" traefik.port: "{{ grafana_port }}"

View file

@ -15,7 +15,9 @@
volumes: volumes:
- "{{ tautulli_config_directory }}:/config:rw" - "{{ tautulli_config_directory }}:/config:rw"
- "{{ plex_logs }}:/logs:ro" - "{{ plex_logs }}:/logs:ro"
network_mode: "host" #network_mode: "host"
ports:
- "{{ tautulli_port }}:8181"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ tautulli_user_id }}" PUID: "{{ tautulli_user_id }}"
@ -26,4 +28,4 @@
traefik.backend: "tautulli" traefik.backend: "tautulli"
traefik.frontend.rule: "Host:tautulli.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:tautulli.{{ ansible_nas_domain }}"
traefik.enable: "{{ tautulli_available_externally }}" traefik.enable: "{{ tautulli_available_externally }}"
traefik.port: "8181" traefik.port: "{{ tautulli_port }}"

View file

@ -19,8 +19,8 @@
image: thelounge/thelounge:latest image: thelounge/thelounge:latest
pull: true pull: true
ports: ports:
- "113:9001" - "{{ thelounge_port_one }}:9001"
- "9000:9000" - "{{ thelounge_port_two }}:9000"
volumes: volumes:
- "{{ thelounge_data_directory }}:/var/opt/thelounge" - "{{ thelounge_data_directory }}:/var/opt/thelounge"
- "/var/run/dbus:/var/run/dbus" - "/var/run/dbus:/var/run/dbus"
@ -30,5 +30,5 @@
traefik.backend: "thelounge" traefik.backend: "thelounge"
traefik.frontend.rule: "Host:thelounge.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:thelounge.{{ ansible_nas_domain }}"
traefik.enable: "{{ thelounge_available_externally }}" traefik.enable: "{{ thelounge_available_externally }}"
traefik.port: "9000" traefik.port: "thelounge_port_two"

View file

@ -19,8 +19,8 @@
- "{{ transmission_download_directory }}:/downloads:rw" - "{{ transmission_download_directory }}:/downloads:rw"
- "{{ transmission_watch_directory }}:/watch:rw" - "{{ transmission_watch_directory }}:/watch:rw"
ports: ports:
- "9092:9091" - "{{ transmission_webui_port }}:9091"
- "51414:51413" - "{{ transmission_external_port }}:51413"
env: env:
TZ: "{{ ansible_nas_timezone }}" TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ transmission_user_id }}" PUID: "{{ transmission_user_id }}"
@ -31,4 +31,4 @@
traefik.backend: "transmission" traefik.backend: "transmission"
traefik.frontend.rule: "Host:transmission.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:transmission.{{ ansible_nas_domain }}"
traefik.enable: "{{ transmission_available_externally }}" traefik.enable: "{{ transmission_available_externally }}"
traefik.port: "9091" traefik.port: "{{ transmission_webui_port }}"

View file

@ -24,8 +24,8 @@
- "{{ transmission_watch_directory }}:/storage/watch:rw" - "{{ transmission_watch_directory }}:/storage/watch:rw"
- "/etc/timezone:/etc/timezone:ro" - "/etc/timezone:/etc/timezone:ro"
ports: ports:
- "9091:9091" - "{{ transmission_openvpn_webui_port }}:9091"
- "51413:51413" - "{{ transmission_openvpn_external_port }}:51413"
env: env:
TRANSMISSION_HOME: "/config" TRANSMISSION_HOME: "/config"
TRANSMISSION_DOWNLOAD_DIR: "/storage/downloads/complete" TRANSMISSION_DOWNLOAD_DIR: "/storage/downloads/complete"
@ -49,4 +49,4 @@
traefik.backend: "transmission-openvpn" traefik.backend: "transmission-openvpn"
traefik.frontend.rule: "Host:transmission-openvpn.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:transmission-openvpn.{{ ansible_nas_domain }}"
traefik.enable: "{{ transmission_with_openvpn_available_externally }}" traefik.enable: "{{ transmission_with_openvpn_available_externally }}"
traefik.port: "9091" traefik.port: "{{ transmission_openvpn_webui_port }}"

View file

@ -15,7 +15,7 @@
- "{{ wallabag_data_directory }}/data:/var/www/wallabag/data:rw" - "{{ wallabag_data_directory }}/data:/var/www/wallabag/data:rw"
- "{{ wallabag_data_directory }}/images:/var/www/wallabag/web/assets/images:rw" - "{{ wallabag_data_directory }}/images:/var/www/wallabag/web/assets/images:rw"
ports: ports:
- "7780:80" - "{{ wallabag_port }}:80"
env: env:
SYMFONY__ENV__DOMAIN_NAME: "https://wallabag.{{ ansible_nas_domain }}" SYMFONY__ENV__DOMAIN_NAME: "https://wallabag.{{ ansible_nas_domain }}"
restart_policy: unless-stopped restart_policy: unless-stopped
@ -23,6 +23,6 @@
traefik.backend: "wallabag" traefik.backend: "wallabag"
traefik.frontend.rule: "Host:wallabag.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:wallabag.{{ ansible_nas_domain }}"
traefik.enable: "{{ wallabag_available_externally }}" traefik.enable: "{{ wallabag_available_externally }}"
traefik.port: "80" traefik.port: "{{ wallabag_port }}"
traefik.frontend.headers.SSLRedirect: "true" traefik.frontend.headers.SSLRedirect: "true"
memory: 1g memory: 1g

View file

@ -15,7 +15,7 @@
- "{{ znc_data_directory }}:/znc-data:rw" - "{{ znc_data_directory }}:/znc-data:rw"
- "/etc/timezone:/etc/timezone:ro" - "/etc/timezone:/etc/timezone:ro"
ports: ports:
- "6677:6677" - "{{ znc_port }}:6677"
env: env:
PUID: "{{ znc_user_id }}" PUID: "{{ znc_user_id }}"
PGID: "{{ znc_group_id }}" PGID: "{{ znc_group_id }}"
@ -25,4 +25,4 @@
traefik.backend: "znc" traefik.backend: "znc"
traefik.frontend.rule: "Host:znc.{{ ansible_nas_domain }}" traefik.frontend.rule: "Host:znc.{{ ansible_nas_domain }}"
traefik.enable: "{{ znc_available_externally }}" traefik.enable: "{{ znc_available_externally }}"
traefik.port: "6677" traefik.port: "{{ znc_port }}"