Skip to content

Instantly share code, notes, and snippets.

@mu373
Last active September 3, 2021 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mu373/e6ae7fa56c2dbfdf008a5ce7347bf8d2 to your computer and use it in GitHub Desktop.
Save mu373/e6ae7fa56c2dbfdf008a5ce7347bf8d2 to your computer and use it in GitHub Desktop.
Unifi Controller on Docker
version: "2.1"
services:
unifi-controller:
image: ghcr.io/linuxserver/unifi-controller:latest
container_name: unifi-controller
environment:
- PUID=1000
- PGID=1000
- MEM_LIMIT=1024M #optional
- TZ=Asia/Tokyo
volumes:
- ./config:/config
ports:
- 3478:3478/udp
- 10001:10001/udp
- 8080:8080
- 8443:8443 #web admin
- 6789:6789 #optional
- 5514:5514/udp #optional
restart: unless-stopped

Unifi Controller on Docker

  • Start container: docker-compose up -d
  • Access to controller from browser: https://localhost:8443
    • If it shows certificate error, type thisisunsafe
  • Stop container: docker-compose down
  • Updating image: docker pull <image>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment