Skip to content

Unifi docker traefik. In this post, I will explai...

Digirig Lite Setup Manual

Unifi docker traefik. In this post, I will explain how to configure a Unifi Network Application on a docker container to control a Unifi AP based on a remote location. Dec 14, 2025 · Proxy Unifi Controller through Traefik using file-based configuration Jul 16, 2018 · UniFi controller software can be cumbersome to install. The software is therefore running as a container on a Virtual Machine in the Microsoft Azure cloud and AP’s are adopted by it via the This project aims to integrate Traefik with UniFi, allowing for routes populated in Traefik to be updated in the static DNS of UniFi. insecure=false" - "--api. hostname. 56. Docker-Compose Running as setup in docker-compose, scraped together I want to add a UniFi Controller container to run behind this reverse proxy, but need help with my configuration. network=proxy" - "--providers. Maybe it has something to do with which headers are passed to your controller. I decided to put it to unifi namespace and it also requires persistentVolume to be set to store the configuration. Sep 23, 2020 · technical Traefik v2 and Unifi Controller in docker Due to the fact that Unifi runs on port 8443 inside the container and expects TLS a couple of extra parameters were required. http. 56, maybe you mean Docker Desktop 4. I set the cloudflare api key to an empty string, because I don't have that. 12. 4" container_name: "traefik" restart: unless-stopped security_opt: - no-new-privileges:true networks: - proxy command: - "--api. 4 as a reverse proxy, but that version has a Docker API compatibility issue that prevents the application from running. Everything works like a charm! Generally, upgrades of the network controller are pretty straight forward. I just have to change the version number in the yaml file and redeploy. Make sure to update Docker and Traefik, as API for discovering services has changed, and you need both with the latest version. Docker is a first-class citizen in Traefik, offering native support for Docker containers and services. For enterprise use I would 100% recommend running the unifi controller as a virtual machine on virtualization cluster. g. 168. Unifi Controller setup with Docker and Traefik. No problem. It launched fine and I adopted all my USG and APs. example. I tested with and without passthrough. There is no Docker 4. The UniFi OS Server is the new standard for self-hosting UniFi, replacing the legacy UniFi Network Server. So I set up a treafik docker on Unraid (6. The following configuration gives me in the browser: Bad Request This combination of host and port requires TLS. These are enabled via make enable-external pattern. The webinterface will of course be served on https://unifi. I set the appdata path to what I need it to be, and that's it. /etc/traefik/enabled/ directory docker-compose. 0 handles both within your existing management console. Traefik is the leading open-source reverse proxy and load balancer for HTTP and TCP-based applications that is easy, dynamic and full-featured. yml 24 contains static route definitions for services like Proxmox, UniFi, Synology. 85 on Ubuntu 24. docker=true" - "--providers. Quick sketch: Running Traefik v2. Port 8080 conflict - Traefik reverse proxy and Unifi network controller Bit of a Docker novice here - grateful for any help! I'm trying to set up a Unifi Network Controller container (from linuxserver). - "traefik. Not had that problem specifically. I cannot seem to get Unifi… In diesem Artikel beschreibe ich, wie man einen Ubiquiti Unifi Controller mit docker und traefik, als Edge Router installiert. 4. This controller runs on my Intel NUC as a docker container which I deploy and manage using Portainer. 0/24 proxy. GitHub Gist: instantly share code, notes, and snippets. Otherwise a totally bog standard install. An updated guide to configuring Traefik with Docker, with explanations of why to do each step as well as how. exposedbydefault=false" - "--providers. This is a working setup for it. Once it started, I decided to hop into the web UI, only to find my browser can't connect At home I’m using the Unifi switches, wireless access points and a self-hosted network controller. Unifi Controller I followed the native, Ubuntu instructions from the Ubiquiti website. I'm trying to use traefik to point to the Unifi Controller in Docker Compose. redirect-to-https. 9 with docker-compose with a variety of service (e. 1. Unifi is running If you already run UniFi infrastructure (including a UniFi Gateway) and need file sharing plus M365 OneDrive backup, Drive 4. yml Using Docker Compose to create a Unifi Controller running in Docker with Traefik Let’s look at the Docker compose code to spin up Traefik and the Unifi controller. Below is the Docker Compose configuration with my usual Traefik setup. And traefik. Host operating system Arch Linux, running 5. Dec 6, 2025 · Decision analysis for LXC+Docker vs VM deployment, hybrid networking strategy for UniFi device communication, and troubleshooting firewall and IP configuration issues. I didn't change any settings. Following this tutorial, I am able to create a functional container and access this site at: https://unifi. 04 Add docker-compose and Portainer stack docs (Traefik + VLAN) Add GHCR build workflow Create and push v1. traefik in one folder with its docker-compose and a separate unifi folder with its own docker-compose Ubiquiti UniFi Controller for Docker. Now I'm thinking it might make sense to have that running on the UDM Pro which would also enable automatic failover via load-balancing (ofc the UDM is still a single point of failure but it would be one anyways). We needed to migrate our unifi controller and other services from one server to another, so I figured it was a good time to learn docker a little more. Learn how to achieve configuration discovery in Traefik through Docker. 1 --subnet 192. In this post, I will explain how to configure a Unifi Network Application on a docker container to control Dec 22, 2020 · This is about my WiFi network set-up with Ubiquiti Access Points (AP’s) in a home situation, but without having (or wanting) physical hardware for running the Unifi Network Controller software on premise (required for set-up and management purposes). I don't consider UniFi an enterprise class solution but I know a lot of sys admins who have successfully used unifi in an enterprise environment. Whether you're using Docker Compose or running containers directly, Traefik provides a seamless experience for managing your Docker traffic. Maybe seeing my current setup helps you out. Since traefik is not supporting UDP, and TCP was only added in v2, the unifi docker container's ports need to either be visible at the DNS entry (without traefik), or devices will need to lookup control node based on up so that traefik can manage the web interface. Unifi Docker files. I have been trying to host my Unifi Controller on Docker - after many problems I have come to terms that I will just run it natively on my Ubuntu server. UniFi Network Docker image and deployment stack. I have finally got all my docker containers moved over to Traefik and working, except for one. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically. . If you need Docker, VMs, iSCSI, immutable snapshots, or full M365 coverage (SharePoint, Exchange, Teams), Synology remains the stronger platform for those workloads. Hi, I run Traefik2 with docker compose on a Debian Machine. dashboard=true" - "--providers. This concept page will teach you how to build and push your first image The Unifi Controller uses self-signed certificates and runs on HTTPS, making it a perfect candidate for Traefik’s file-based configuration with insecureSkipVerify. Contribute to jacobalberty/unifi-docker development by creating an account on GitHub. redirectscheme. The problem appears to be around the auth login The routing works, but firstly the browser throws up a basic auth login box (that does not work) and a few cancels gets to the Unifi login, but then that throws some functions import_cert license unifi-docker / examples / traefikv2 / docker-compose. yml Cannot retrieve latest commit at this time. Unifi controller behind Traefik reverse proxy in Docker - docker-compose. services: traefik: image: "traefik:v3. I have worked through a lot of google stuff and can not get Traefik to work nicely with Unifi and have come to the conclusion most examples are Unifi 5 and Traefik 2. However I'm currently running a one node Docker swarm on my "server" that includes a instance of Traefik for reverse proxy and https certs. Setting up a UniFi Controller This is a Docker Compose configuration example on deploying a UniFi Controller. Jun 15, 2024 · Setting up a remote Unifi Controller with Traefik — manage your APs over the internet. Here's the relevant docker-compose snippet. The official Docker getting-started tutorial uses Traefik v3. com:8443 Port 8443 is the native web management port that UniFi runs on, but this is where is I need help. While the Network Server provided basic hosting functionality, it lacked support for key U UniFi Network Controller behind a Traefik reverse proxy - Dockerfile Now that Traefik exposes the needed ports on our local network we need to setup the unifi-controller. 90. Contribute to APTPlatforms/docker-unifi development by creating an account on GitHub. Ideally, I want to have reverse proxy to this local service through Traefik. I have a Unifi network at home and I've got some friends and family who have their AP's in my controller too. yml do you use to launch the container (omitting sensitive 10 votes, 12 comments. 6). A part of UDMS series. Contribute to drmckay/unifi-network development by creating an account on GitHub. docker. Read the technical documentation. The container needs port 8080, but that causes a conflict with one of my other containers (Traefik reverse proxy). io. In this guide, I will show you how to install UniFi controller on Docker with Traefik reverse proxy. 2 or earlier. 50-1-lts kernel What tag are you using stable What complete docker command or docker-compose. 0 tag The Docker Compose file above configures two containers: one for n8n, and one to run traefik, an application proxy to manage TLS/SSL certificates and handle routing. scheme=https" So, I write this in case you know off the bat how the traefik headers would be for enabling access to 8443. file The Traefik container lives within the following simple Docker network: docker network create --gateway 192. Track initial project bootstrap tasks: Add Dockerfile for UniFi 10. middlewares. org which by default will be port 443, but you still have to map port 8080 to the host. true Traefik is a leading modern reverse proxy and load balancer that makes deploying microservices easy. version: '3' services: … This revised, 2025, Traefik Docker Compose is the most in-depth, step-by-step, guide on the planet. , pihole, portainer) that all work flawlessly. Traefik continuo The . period. I would even go with unifi on a virtual machine over a dedicated cloud key Gen 2+. I just installed it from the apps tab, picked the one tagged as official. kiva1m, 1wyf, iyzux2, 7p4d, asups, sp43c, r6a2k, lkhpdi, ttoz, ldev,