aboutsummaryrefslogtreecommitdiff
path: root/terraform/unifi-controller/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-05-20 20:45:56 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-05-20 20:45:56 +0200
commit0792ea3517043b00e550c3ecef7dfc8feceb5e3f (patch)
tree40cd0dfdf3d7d0ef427b599f80a86ea5539096c3 /terraform/unifi-controller/README.md
parentc1c7634cb4ebec0894deb2c11b8910db32d2e8ce (diff)
downloadinfra-0792ea3517043b00e550c3ecef7dfc8feceb5e3f.tar.gz
infra-0792ea3517043b00e550c3ecef7dfc8feceb5e3f.tar.bz2
infra-0792ea3517043b00e550c3ecef7dfc8feceb5e3f.tar.xz
infra-0792ea3517043b00e550c3ecef7dfc8feceb5e3f.zip
unifi: Going mongoless!
Diffstat (limited to 'terraform/unifi-controller/README.md')
-rw-r--r--terraform/unifi-controller/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/terraform/unifi-controller/README.md b/terraform/unifi-controller/README.md
new file mode 100644
index 0000000..66f0fb0
--- /dev/null
+++ b/terraform/unifi-controller/README.md
@@ -0,0 +1,9 @@
+# Mongo init
+
+After the mongo database has been started the first time, execute the output of:
+
+ terraform output -json|jq -r .mongo_init_js.value
+
+in a mongo shell:
+
+ docker exec -it unifi-mongo mongo