{"id":14956766,"url":"https://github.com/pjortiz/docker-compose-unifi-network-application","last_synced_at":"2025-10-24T10:30:56.051Z","repository":{"id":239380227,"uuid":"799357957","full_name":"pjortiz/docker-compose-unifi-network-application","owner":"pjortiz","description":"docker-compose-unifi-network-application","archived":false,"fork":false,"pushed_at":"2024-06-30T18:49:30.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T09:51:14.378Z","etag":null,"topics":["docker","docker-compose","linuxserver","linuxserver-image","linuxserver-io","linuxserver-unifi-network-application","mongo","mongodb","mongosh","unifi","unifi-controller","unifi-network","unifi-network-application"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pjortiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-11T22:25:47.000Z","updated_at":"2025-01-07T19:42:04.000Z","dependencies_parsed_at":"2024-09-02T15:41:30.206Z","dependency_job_id":"dc58e790-b73b-4f0d-988c-3f4373f88832","html_url":"https://github.com/pjortiz/docker-compose-unifi-network-application","commit_stats":null,"previous_names":["pjortiz/docker-compose-unifi-network-application"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjortiz%2Fdocker-compose-unifi-network-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjortiz%2Fdocker-compose-unifi-network-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjortiz%2Fdocker-compose-unifi-network-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjortiz%2Fdocker-compose-unifi-network-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pjortiz","download_url":"https://codeload.github.com/pjortiz/docker-compose-unifi-network-application/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950826,"owners_count":19392666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","linuxserver","linuxserver-image","linuxserver-io","linuxserver-unifi-network-application","mongo","mongodb","mongosh","unifi","unifi-controller","unifi-network","unifi-network-application"],"created_at":"2024-09-24T13:13:27.733Z","updated_at":"2025-10-24T10:30:56.044Z","avatar_url":"https://github.com/pjortiz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-compose-unifi-network-application \u003c!-- omit in toc --\u003e\n\n## Table of Contents \u003c!-- omit in toc --\u003e\n\n- [Quick reference](#quick-reference)\n- [Why?](#why)\n- [Requirements](#requirements)\n- [Quick Start](#quick-start)\n- [Step by step](#step-by-step)\n  - [Create a new project directory](#create-a-new-project-directory)\n  - [Create the .env file](#create-the-env-file)\n  - [Download Docker Compose Configuration File](#download-docker-compose-configuration-file)\n  - [Launch Docker Containers](#launch-docker-containers)\n  - [Open Web App](#open-web-app)\n- [Remove/Uninstall](#removeuninstall)\n\n_______________________________________\n\n## Quick reference\n\n- [pjortiz/docker-unifi-mongo](https://github.com/pjortiz/docker-unifi-mongo)\n- [linuxserver/unifi-network-application](https://hub.docker.com/r/linuxserver/unifi-network-application) Official Image\n- [Mongo](https://hub.docker.com/_/mongo) Official Image\n\n_______________________________________\n\n## Why?\n\nThis compose file aims to make the deployment as painless and easy as possable while still attempting to support all the Mongo versions[^1].\n\n[^1]: I have not verified that all version are working for myself. But version 5 and 6 seem to be working during my testing.\n_______________________________________\n\n## Requirements\n\n- A system with Docker and Docker Compose installed and working.\n- A basic understanding on how to deploy docker-compose.yml files.\n\n_______________________________________\n\n## Quick Start\n\nCopy the below command into any CLI. [^2]\n\nMake sure to change `MONGO_PASS` and set `MONGO_VERSION` as needed.\n\n[^2]: For the `printf` , `curl` and `rm` commands, Windows users may need to have GitBash installed or similar that provide these CLI commands.\n\n```Shell\nprintf \"MONGO_VERSION=6.0.15\\nMONGO_PASS=changeme\" \u003e .env \u0026\u0026 curl -Lf -o docker-compose.yml https://raw.githubusercontent.com/pjortiz/docker-compose-unifi-network-application/main/docker-compose.yml \u0026\u0026 docker compose -p unifi-network-application --env-file .env up --detach\n```\n\nNote: this `docker-compose.yml` uses Mongo version `6.0.15` by default, so specifying `MONGO_VERSION` above with the same is technically redundant.\n\nClean up left over files if needed with below command.\n\n```bash\nrm -f .env docker-compose.yml\n```\n\n_______________________________________\n\n## Step by step\n\n### Create a new project directory\n\nCreate a new project directory and name it `unifi-network-application`. Here you will place the `.env` and `docker-compose.yml` files as detailed in the next steps.\n\n### Create the .env file\n\nDownload the `.env.template` file and rename it to `.env` or create an empty file.\n\nAdd/Change the following:\n\n```bash\nMONGO_VERSION=6.0.15    # Optional, if not provided uses default\nMONGO_PASS=changeme     # Required\n```\n\nChange the `MONGO_PASS` to what every you want. And set the `MONGO_VERSION` to meet your needs or leave default.\n\n### Download Docker Compose Configuration File\n\nEither download through your browser or using the command below:\n\n```bash\ncurl -Lf -o docker-compose.yml https://raw.githubusercontent.com/pjortiz/docker-compose-unifi-network-application/main/docker-compose.yml\n```\n\n### Launch Docker Containers\n\nOpen a CLI and make sure your working directory is in the same and the `.env` and `docker-compose.yml`, then run the this command:\n\n```bash\ndocker compose -p unifi-network-application --env-file .env up --detach\n```\n\n### Open Web App\n\nOpen your web browser and navigate to `https://localhost:8443` or the IP/Domain of your host system.\n\n_______________________________________\n\n## Remove/Uninstall\n\nTo remove run the following command:\n\n```Shell\ndocker compose -p unifi-network-application rm --stop\n```\n\nAdd option `--volumes` after `rm` to remove volumes as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjortiz%2Fdocker-compose-unifi-network-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpjortiz%2Fdocker-compose-unifi-network-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjortiz%2Fdocker-compose-unifi-network-application/lists"}