Skip to content

Commit

Permalink
fix(traefik): specify docker network
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Aug 3, 2024
1 parent 82f7357 commit 22d8990
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/compose/authentik.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
mem_limit: {{ infra_authentik_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
traefik.http.routers.{{ infra_authentik_service_name }}-rtr.rule: "Host(\"{{ infra_authentik_fqdn }}\")"
traefik.http.routers.{{ infra_authentik_service_name }}-rtr.entrypoints: webSecure
traefik.http.services.{{ infra_authentik_service_name }}-svc.loadbalancer.server.port: 9443
Expand Down
1 change: 1 addition & 0 deletions templates/compose/graylog.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ services:
mem_limit: {{ infra_graylog_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
traefik.http.routers.{{ infra_graylog_service_name }}-rtr.rule: "Host(\"{{ infra_graylog_fqdn }}\")"
traefik.http.routers.{{ infra_graylog_service_name }}-rtr.entrypoints: webSecure
traefik.http.services.{{ infra_graylog_service_name }}-svc.loadbalancer.server.port: 9000
Expand Down
1 change: 1 addition & 0 deletions templates/compose/pihole.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ services:
mem_limit: {{ infra_pihole_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
# Web UI
traefik.http.routers.{{ infra_pihole_service_name }}-web-rtr.rule: "Host(\"{{ infra_pihole_fqdn }}\")"
traefik.http.routers.{{ infra_pihole_service_name }}-web-rtr.entrypoints: webSecure
Expand Down
1 change: 1 addition & 0 deletions templates/compose/unifi.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ services:
mem_limit: {{ infra_unifi_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
traefik.http.routers.{{ infra_unifi_service_name }}-inform-rtr.rule: "Host(\"{{ infra_unifi_fqdn }}\") && Path(\"/inform\") && Method(\"POST\")"
traefik.http.routers.{{ infra_unifi_service_name }}-inform-rtr.entrypoints: web
traefik.http.services.{{ infra_unifi_service_name }}-inform-svc.loadbalancer.server.port: 8080
Expand Down
1 change: 1 addition & 0 deletions templates/compose/uptimekuma.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
mem_limit: {{ infra_uptimekuma_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
traefik.http.routers.{{ infra_uptimekuma_service_name }}-rtr.rule: "Host(\"{{ infra_uptimekuma_fqdn }}\")"
traefik.http.routers.{{ infra_uptimekuma_service_name }}-rtr.entrypoints: webSecure
traefik.http.services.{{ infra_uptimekuma_service_name }}-svc.loadbalancer.server.port: 3001
Expand Down
1 change: 1 addition & 0 deletions templates/compose/vaultwarden.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
mem_limit: {{ infra_vaultwarden_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
traefik.http.routers.{{ infra_vaultwarden_service_name }}-rtr.rule: "Host(\"{{ infra_vaultwarden_fqdn }}\")"
traefik.http.routers.{{ infra_vaultwarden_service_name }}-rtr.entrypoints: webSecure
traefik.http.services.{{ infra_vaultwarden_service_name }}-svc.loadbalancer.server.port: 80
Expand Down
1 change: 1 addition & 0 deletions templates/compose/wireguard.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ services:
mem_limit: {{ infra_wireguard_ui_container_memory }}
labels:
traefik.enable: 'true'
traefik.docker.network: {{ svc_docker_network_name }}
traefik.http.routers.{{ infra_wireguard_ui_service_name }}-rtr.rule: "Host(\"{{ infra_wireguard_ui_fqdn }}\")"
traefik.http.routers.{{ infra_wireguard_ui_service_name }}-rtr.entrypoints: webSecure
traefik.http.services.{{ infra_wireguard_ui_service_name }}-svc.loadbalancer.server.port: 5000
Expand Down

0 comments on commit 22d8990

Please sign in to comment.