- Start container:
docker-compose up -d
- Access to controller from browser: https://localhost:8443
- If it shows certificate error, type
thisisunsafe
- If it shows certificate error, type
- Stop container:
docker-compose down
- Updating image:
docker pull <image>
Last active
September 3, 2021 17:40
-
-
Save mu373/e6ae7fa56c2dbfdf008a5ce7347bf8d2 to your computer and use it in GitHub Desktop.
Unifi Controller on Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment