From 8d71ff222ac9a80e8c9a336992362ef8310155ce Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 25 Dec 2023 01:55:30 +1300 Subject: [PATCH] add matrix reservation --- .../calico_ip_reservation.yaml | 2 ++ podman/system.properties | 16 ++++++++++ podman/unifi.yaml | 32 +++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 podman/system.properties create mode 100644 podman/unifi.yaml diff --git a/ansible/roles/k8s_network/files/cluster.balsillie.house/calico_ip_reservation.yaml b/ansible/roles/k8s_network/files/cluster.balsillie.house/calico_ip_reservation.yaml index 8d45a70..04b5714 100644 --- a/ansible/roles/k8s_network/files/cluster.balsillie.house/calico_ip_reservation.yaml +++ b/ansible/roles/k8s_network/files/cluster.balsillie.house/calico_ip_reservation.yaml @@ -32,6 +32,8 @@ spec: # 2400:8907:e002:7c10:ffff:ffff:ffff:f005 (Unused) # # Matrix: +# 10.208.240.6 +# 2400:8907:e002:7c10:ffff:ffff:ffff:f006 # # Turn: # \ No newline at end of file diff --git a/podman/system.properties b/podman/system.properties new file mode 100644 index 0000000..3f04337 --- /dev/null +++ b/podman/system.properties @@ -0,0 +1,16 @@ +reporter-uuid=8155dd48-2618-4a86-ab6f-195faa924108 +uuid=01665442-4051-49a4-b9bf-f8a3dcae7aa3 +db.mongo.local=false +db.mongo.uri=mongodb://unifi:kay9bYJ9TeNDMCHdbTtdtHDH4@unifi-db-headless.infra.svc.cluster.internal:27017/unifi +statdb.mongo.local=false +statdb.mongo.uri=mongodb://unifi:kay9bYJ9TeNDMCHdbTtdtHDH4@unifi-db-headless.infra.svc.cluster.internal:27017/unifi_stat +unifi.db.name=unifi +system_ip=unifi.balsillie.net +unifi.db.nojournal=true +debug.mgmt=info +debug.setting_preference=info +debug.device=warn +debug.system=debug +debug.sdn=info +debug.db=info +unifi.https.redirect=false \ No newline at end of file diff --git a/podman/unifi.yaml b/podman/unifi.yaml new file mode 100644 index 0000000..aaac563 --- /dev/null +++ b/podman/unifi.yaml @@ -0,0 +1,32 @@ +version: 3.7 + +services: + + unifi: + image: code.balsillie.net/containers/unifi:latest + container_name: unifi + restart: always + ports: + - "8080:8080" + - "8443:8443" + - "8843:8843" + volumes: + - /podman/volumes/unifi:/var/lib/unifi/ + environment: + - TZ=Pacific/Auckland + - UNIFI_DB_PASSWORD=kay9bYJ9TeNDMCHdbTtdtHDH4 + depends_on: + - mongodb + + mongodb: + image: mongo:6-jammy + container_name: mongodb + # command: ["docker-entrypoint.sh", "mongod", "--bind_ip_all", "--ipv6", "--auth"] + command: ["docker-entrypoint.sh", "mongod", "--bind_ip_all", "--auth"] + restart: always + volumes: + - /podman/volumes/mongodb:/data/db + environment: + - TZ=Pacific/Auckland + - MONGO_INITDB_ROOT_USERNAME=admin + - MONGO_INITDB_ROOT_PASSWORD=Vy9hxq5TCQNKZobpkUo5