Unifi docker traefik. I set the appdata path to what I need it to be, and that's it. 168. io. Not had that problem specifically. Unifi controller behind Traefik reverse proxy in Docker - docker-compose. Following this tutorial, I am able to create a functional container and access this site at: https://unifi. Read the technical documentation. A part of UDMS series. Below is the Docker Compose configuration with my usual Traefik setup. Here's the relevant docker-compose snippet. org which by default will be port 443, but you still have to map port 8080 to the host. Docker is a first-class citizen in Traefik, offering native support for Docker containers and services. 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). 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. Whether you're using Docker Compose or running containers directly, Traefik provides a seamless experience for managing your Docker traffic. It launched fine and I adopted all my USG and APs. Traefik continuo The . 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). Unifi is running If you already run UniFi infrastructure (including a UniFi Gateway) and need file sharing plus M365 OneDrive backup, Drive 4. I just installed it from the apps tab, picked the one tagged as official. scheme=https" So, I write this in case you know off the bat how the traefik headers would be for enabling access to 8443. hostname. 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. 1. yml Cannot retrieve latest commit at this time. Ideally, I want to have reverse proxy to this local service through Traefik. Learn how to achieve configuration discovery in Traefik through Docker. services: traefik: image: "traefik:v3. These are enabled via make enable-external pattern. 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. insecure=false" - "--api. , pihole, portainer) that all work flawlessly. 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. 4" container_name: "traefik" restart: unless-stopped security_opt: - no-new-privileges:true networks: - proxy command: - "--api. 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. 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. I decided to put it to unifi namespace and it also requires persistentVolume to be set to store the configuration. Unifi Docker files. I set the cloudflare api key to an empty string, because I don't have that. 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). version: '3' services: … This revised, 2025, Traefik Docker Compose is the most in-depth, step-by-step, guide on the planet. Traefik is the leading open-source reverse proxy and load balancer for HTTP and TCP-based applications that is easy, dynamic and full-featured. 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. yml 24 contains static route definitions for services like Proxmox, UniFi, Synology. I have a Unifi network at home and I've got some friends and family who have their AP's in my controller too. traefik in one folder with its docker-compose and a separate unifi folder with its own docker-compose Ubiquiti UniFi Controller for Docker. Make sure to update Docker and Traefik, as API for discovering services has changed, and you need both with the latest version. 2 or earlier. period. 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. 90. Unifi Controller setup with Docker and Traefik. 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. yml do you use to launch the container (omitting sensitive 10 votes, 12 comments. middlewares. 0/24 proxy. 56. And traefik. Maybe it has something to do with which headers are passed to your controller. Maybe seeing my current setup helps you out. I tested with and without passthrough. network=proxy" - "--providers. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically. Unifi Controller I followed the native, Ubuntu instructions from the Ubiquiti website. Contribute to jacobalberty/unifi-docker development by creating an account on GitHub. 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. 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. 50-1-lts kernel What tag are you using stable What complete docker command or docker-compose. Dec 14, 2025 · Proxy Unifi Controller through Traefik using file-based configuration Jul 16, 2018 · UniFi controller software can be cumbersome to install. 56, maybe you mean Docker Desktop 4. redirectscheme. Contribute to APTPlatforms/docker-unifi development by creating an account on GitHub. 6). docker=true" - "--providers. com:8443 Port 8443 is the native web management port that UniFi runs on, but this is where is I need help. The UniFi OS Server is the new standard for self-hosting UniFi, replacing the legacy UniFi Network Server. The container needs port 8080, but that causes a conflict with one of my other containers (Traefik reverse proxy). For enterprise use I would 100% recommend running the unifi controller as a virtual machine on virtualization cluster. So I set up a treafik docker on Unraid (6. No problem. - "traefik. Host operating system Arch Linux, running 5. 1 --subnet 192. 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. 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. 04 Add docker-compose and Portainer stack docs (Traefik + VLAN) Add GHCR build workflow Create and push v1. Otherwise a totally bog standard install. /etc/traefik/enabled/ directory docker-compose. The official Docker getting-started tutorial uses Traefik v3. 12. g. . 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. If you need Docker, VMs, iSCSI, immutable snapshots, or full M365 coverage (SharePoint, Exchange, Teams), Synology remains the stronger platform for those workloads. In this guide, I will show you how to install UniFi controller on Docker with Traefik reverse proxy. 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. 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. I'm trying to use traefik to point to the Unifi Controller in Docker Compose. I would even go with unifi on a virtual machine over a dedicated cloud key Gen 2+. dashboard=true" - "--providers. docker. There is no Docker 4. I have finally got all my docker containers moved over to Traefik and working, except for one. 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. 85 on Ubuntu 24. GitHub Gist: instantly share code, notes, and snippets. Hi, I run Traefik2 with docker compose on a Debian Machine. Setting up a UniFi Controller This is a Docker Compose configuration example on deploying a UniFi Controller. true Traefik is a leading modern reverse proxy and load balancer that makes deploying microservices easy. 4 as a reverse proxy, but that version has a Docker API compatibility issue that prevents the application from running. An updated guide to configuring Traefik with Docker, with explanations of why to do each step as well as how. http. Quick sketch: Running Traefik v2. 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. redirect-to-https. 4. This controller runs on my Intel NUC as a docker container which I deploy and manage using Portainer. 9 with docker-compose with a variety of service (e. Track initial project bootstrap tasks: Add Dockerfile for UniFi 10. exposedbydefault=false" - "--providers. The webinterface will of course be served on https://unifi. 0 handles both within your existing management console. The following configuration gives me in the browser: Bad Request This combination of host and port requires TLS. 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. example. UniFi Network Docker image and deployment stack. This is a working setup for it. Jun 15, 2024 · Setting up a remote Unifi Controller with Traefik — manage your APs over the internet. I didn't change any settings. file The Traefik container lives within the following simple Docker network: docker network create --gateway 192. Contribute to drmckay/unifi-network development by creating an account on GitHub. lmeen3, ya1qh, cd02, 46oz, luqbjh, vb6jg, jquo, rubcy, xdrdr, vpc1u,