-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathunifi-network-app-linuxserver.json
More file actions
168 lines (168 loc) · 5.55 KB
/
unifi-network-app-linuxserver.json
File metadata and controls
168 lines (168 loc) · 5.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"UniFi Network Application by linuxserver.io": {
"description": "Ubiquiti's UniFi Network Application software is a powerful, enterprise wireless software engine ideal for high-density client deployments requiring low latency and high uptime performance.</p><p><b>Note:</b> requires a Ubiquiti account: can be created during initial WebUI setup.</p><p><b>Before install:</b> create a Share named 'unifi-db' containing 'init-mongo.sh' with the content outlined <a href='https://github.com/linuxserver/docker-unifi-network-application?tab=readme-ov-file#setting-up-your-external-database' target='_blank'>here</a>.</p><p>Based on a <a href='https://hub.docker.com/r/linuxserver/unifi-controller' target='_blank'>custom OCI image</a>, available for amd64 and arm64 architecture.</p>",
"version": "1.0",
"website": "https://ui.com/",
"more_info": "To limit memory add MEM_LIMIT=1024M as a custom argument after install.",
"ui": {
"https": true,
"slug": ""
},
"containers": {
"unifi-db": {
"image": "mongo",
"tag": "4.4.29",
"launch_order": 1,
"volumes": {
"/data": {
"description": "Share for the database files and initial startup script.",
"label": "DB storage [must be unifi-db]"
}
},
"opts": [
[
"-e",
"MONGO_INITDB_ROOT_USERNAME=root"
],
[
"-e",
"MONGO_DBNAME=unifi"
],
[
"-e",
"MONGO_USER=unifi"
],
[
"-e",
"MONGO_AUTHSOURCE=admin"
],
[
"-v",
"/mnt2/unifi-db/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro"
]
],
"environment": {
"MONGO_INITDB_ROOT_PASSWORD": {
"description": "Enter a password for the MongoDB root user.",
"label": "DB root user password"
},
"MONGO_PASS": {
"description": "Enter a password for the MongoDB unifi user.",
"label": "DB unifi user password"
}
}
},
"unifi-network-application": {
"image": "lscr.io/linuxserver/unifi-network-application",
"launch_order": 2,
"ports": {
"10001": {
"description": "Access Point discovery port (UDP).",
"label": "AP Discovery [e.g. 10001]",
"host_default": 10001,
"protocol": "udp"
},
"1900": {
"description": "Port for option to make controller discoverable on a L2 network (udp).",
"label": "L2 controller discovery [e.g. 1900]",
"host_default": 1900,
"protocol": "udp"
},
"3478": {
"description": "Session Traversal Utilities for NAT port, udp.",
"label": "STUN [e.g. 3478]",
"host_default": 3478,
"protocol": "udp"
},
"5514": {
"description": "Remote syslog port.",
"label": "Remote syslog [e.g. 5514]",
"host_default": 5514,
"protocol": "udp"
},
"6789": {
"description": "Mobile throughput test port.",
"label": "Mobile speed test [e.g. 6789]",
"host_default": 6789,
"protocol": "tcp"
},
"8080": {
"description": "Port required for device communication.",
"label": "Device communication [e.g. 8080]",
"host_default": 8080,
"protocol": "tcp"
},
"8443": {
"description": "WebUI and API port.",
"label": "WebUI (https) [e.g. 8443]",
"host_default": 8443,
"protocol": "tcp",
"ui": true
},
"8843": {
"description": "Redirect port to https guest portal.",
"label": "Guest portal (https) [e.g. 8843]",
"host_default": 8843,
"protocol": "tcp"
},
"8880": {
"description": "Redirect port to http guest portal.",
"label": "Guest portal (http) [e.g. 8880]",
"host_default": 8880,
"protocol": "tcp"
}
},
"volumes": {
"/config": {
"description": "Share for Unifi Controller configuration.",
"label": "Config Storage [e.g. unifi-config]"
}
},
"opts": [
[
"-e",
"MONGO_USER=unifi"
],
[
"-e",
"MONGO_HOST=unifi-db"
],
[
"-e",
"MONGO_PORT=27017"
],
[
"-e",
"MONGO_DBNAME=unifi"
],
[
"-e",
"MONGO_AUTHSOURCE=admin"
]
],
"environment": {
"MONGO_PASS": {
"description": "Enter the MongoDB unifi user password.",
"label": "DB Password [same as DB unifi user]"
},
"PGID": {
"description": "GID to use along with the UID. It must have full permissions to the unifi share mapped in the previous step.",
"label": "GID"
},
"PUID": {
"description": " UID to run Unifi. It must have full permissions to the share mapped in the previous step.",
"label": "UID"
}
}
}
},
"container_links": {
"unifi-network-application": [
{
"name": "UnifiToDB",
"source_container": "unifi-db"
}
]
}
}
}