map ports for new containers

This commit is contained in:
animeai 2020-01-05 22:55:05 +00:00
parent 6237455eaa
commit 488c89c89a
2 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@
- "{{ lidarr_downloads_directory }}:/downloads:rw"
- "{{ lidarr_data_directory }}:/config:rw"
ports:
- "8686:8686"
- "{{ lidarr_port }}:8686"
env:
TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ lidarr_user_id }}"
@ -25,4 +25,4 @@
traefik.backend: "lidarr"
traefik.frontend.rule: "Host:lidarr.{{ ansible_nas_domain }}"
traefik.enable: "{{ lidarr_available_externally }}"
traefik.port: "8686"
traefik.port: "{{ lidarr_port }}"

View file

@ -22,11 +22,11 @@
PGID: "{{ ubooquity_group_id|quote }}"
MAXMEM: "1024"
ports:
- "2202:2202"
- "2203:2203"
- "{{ ubooquity_port_a }}:2202"
- "{{ ubooquity_port_b }}:2203"
restart_policy: unless-stopped
labels:
traefik.backend: "ubooquity"
traefik.frontend.rule: "Host:ubooquity.{{ ansible_nas_domain }}"
traefik.enable: "{{ ubooquity_available_externally }}"
traefik.port: "2202"
traefik.port: "{{ ubooquity_port_a }}"