feat: add traefik and use host network

This commit is contained in:
Simon Cornet 2025-10-22 21:45:29 +02:00
commit 8dbf21126d
5 changed files with 6 additions and 9 deletions

View file

@ -7,3 +7,4 @@ galaxy_info:
role_name: "bazarr"
dependencies:
- role: "docker"
- role: "traefik"

View file

@ -18,3 +18,4 @@
roles:
- role: "docker"
- role: "bazarr"
- role: "traefik"

View file

@ -7,3 +7,6 @@ roles:
- name: "bazarr"
src: "https://gitlab.simoncor.net/ansible/ans-bazarr.git"
scm: "git"
- name: "traefik"
src: "https://gitlab.simoncor.net/ansible/ans-traefik.git"
scm: "git"

View file

@ -47,11 +47,9 @@
name: "bazarr"
image: "lscr.io/linuxserver/bazarr:1.5.3"
image_name_mismatch: "recreate"
network_mode: "host"
restart_policy: "unless-stopped"
networks:
- name: "bazarr"
volumes:
- "/mnt/bazarr/data:/config"
- "media:/mnt/media"

View file

@ -1,6 +0,0 @@
---
# create network
- name: "docker create bazarr network"
community.docker.docker_network:
name: "bazarr"