Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedxt/unifi-docker
UniFi Docker Compose
https://github.com/thedxt/unifi-docker
docker-compose unifi unifi-controller
Last synced: 28 days ago
JSON representation
UniFi Docker Compose
- Host: GitHub
- URL: https://github.com/thedxt/unifi-docker
- Owner: thedxt
- Created: 2023-12-16T17:07:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-10T19:01:10.000Z (about 2 months ago)
- Last Synced: 2024-11-10T20:17:16.279Z (about 2 months ago)
- Topics: docker-compose, unifi, unifi-controller
- Language: Shell
- Homepage: https://thedxt.ca/2023/12/unifi-network-server-with-docker/
- Size: 13.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UniFi-Docker
This will spawn everything needed to run a UniFi Network Application in a container including a container for the MongoDB database. Using the [LinuxServer.io UniFi Network Application](https://github.com/linuxserver/docker-unifi-network-application) image and the [official MongoDB](https://github.com/docker-library/mongo) image.use .env to define your variables
### .env Variables
- `CONTAINER_NAME` the name of your UniFi stack. There will be two containers spawned.
- The one with `_CORE` appended to it is the LinuxServer.io UniFi Network Application image.
- The one with `_DB` appended to it is the official MongoDB image. Currently pinned to version 7.0 as that's the highest UniFi supports.
- `MONGO_DBNAME` the name of the MongoDB database. The stats DB will have `_stat` appended to it.
- `MONGO_USER` the database user
- `MONGO_PASS` the password for the database user
- `TIME_ZONE` Time Zone for the UniFi Network Application[More detailed documentation](https://thedxt.ca/2023/12/unifi-network-server-with-docker/)
If you have been running my docker compose file for a while it's possible that you are running MongoDB 4.4. Here are the details for [upgrading the Mongo database from 4.4 to 7.0](https://thedxt.ca/2024/06/unifi-mongodb-upgrade/). The database upgrade is not needed on new installs.