Merge pull request 'server-v9' (#1) from server-v9 into main

Reviewed-on: #1
This commit is contained in:
laur 2025-01-08 09:45:04 +01:00
commit debb1f9e63
4 changed files with 67 additions and 2 deletions

View File

@ -1,12 +1,14 @@
---
## General
unifi_image: lscr.io/linuxserver/unifi-controller:latest
unifi_image: lscr.io/linuxserver/unifi-network-application:latest
unifi_container_name: unifi-network-application
unifi_uid: 1000
unifi_gid: 1000
unifi_mem_limit: 1024
unifi_mem_startup: 1024
unifi_tz: "Etc/UTC"
unifi_volume: "unifi"
@ -22,6 +24,13 @@ unifi_http_port_8880: 8880
unifi_http_port_6789: 6789
unifi_http_port_5514: 5514
unifi_mongo_user: unifi
unifi_mongo_pass:
unifi_mongo_host: unifi-db
unifi_mongo_port: 27017
unifi_nongo_db_name: unifi
unifi_mongo_auth_source: admin
unifi_mongo_tls:
# Unifi-Controller paths
unifi_root_path: /var/local

View File

@ -0,0 +1,43 @@
---
convention:
commitTypes:
- feat
- fix
- perf
- refactor
- style
- test
- build
- ops
- docs
- chore
- merge
- revert
commitScopes: []
releaseTagGlobPattern: v[0-9]*.[0-9]*.[0-9]*
changelog:
commitTypes:
- feat
- fix
- perf
- merge
includeInvalidCommits: true
commitIgnoreRegexPattern: "^WIP "
headlines:
feat: Features
fix: Bug Fixes
perf: Performance Improvements
merge: Merges
breakingChange: BREAKING CHANGES
## GitHub
# commitUrl: https://github.com/ACCOUNT/REPOSITORY/commit/%commit%
# commitRangeUrl: https://github.com/ACCOUNT/REPOSITORY/compare/%from%...%to%?diff=split
## GitHub Issues
# issueRegexPattern: "#[0-9]+"
# issueUrl: https://github.com/ACCOUNT/REPOSITORY/issues/%issue%
## Jira Issues
# issueRegexPattern: "[A-Z][A-Z0-9]+-[0-9]+"
# issueUrl: https://WORKSPACE.atlassian.net/browse/%issue%

View File

@ -1,9 +1,10 @@
# unifi-controller docker compose
---
version: '3.9'
services:
unifi-controller:
image: "{{ unifi_image }}"
container_name: unifi-controller-service
container_name: "{{ unifi_container_name }}"
restart: unless-stopped
env_file:
- "{{ unifi_config_path | expanduser }}/env.unifi-controller.conf"

View File

@ -5,4 +5,16 @@ PUID={{ unifi_gid }}
MEM_LIMIT={{ unifi_mem_limit }}
MEM_STATUP={{ unifi_mem_startup }}
TZ={{ unifi_tz }}
MONGO_USER={{ unifi_mongo_user }}
MONGO_PASS={{ unifi_mongo_pass }}
MONGO_HOST={{ unifi_mongo_host }}
MONGO_PORT={{ unifi_mongo_port }}
MONGO_DBNAME={{ unifi_nongo_db_name }}
MONGO_AUTHSOURCE={{ unifi_mongo_auth_source }}
{% if unifi_mongo_tls is defined -%}
MONGO_TLS= {{ unifi_mongo_tls }}
{% endif %}