From 0b58ce1288ac9f1517094ab676897b469653c915 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Wed, 11 Sep 2024 11:17:51 +0200 Subject: [PATCH] Add unifi-network-application --- ports.md | 2 + unifi-network-application/README.md | 30 +++++++++++ unifi-network-application/docker-compose.yaml | 50 +++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 unifi-network-application/README.md create mode 100644 unifi-network-application/docker-compose.yaml diff --git a/ports.md b/ports.md index a09f64c..21205a5 100644 --- a/ports.md +++ b/ports.md @@ -4,6 +4,8 @@ | --- | --- | | 222 | gitea | | 8000 | portainer | +| 8080 | unifi-controller | | 8081 | scrutiny | | 8082 | paperless | | 8083 | firefly-fints-importer | +| 8443 | unifi-controller | diff --git a/unifi-network-application/README.md b/unifi-network-application/README.md new file mode 100644 index 0000000..36a7d5c --- /dev/null +++ b/unifi-network-application/README.md @@ -0,0 +1,30 @@ +# unifi-network-application + +Powerful, enterprise wireless software engine ideal for high-density client deployments requiring low latency and high uptime performance + +## Important step when deploying +The user to be used by unifi has to be created by an init script. +Use the following script mounted in the container like so: +`/path/to/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro` + +```bash +#!/bin/bash + +if which mongosh > /dev/null 2>&1; then + mongo_init_bin='mongosh' +else + mongo_init_bin='mongo' +fi +"${mongo_init_bin}" <