mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2025-03-05 20:59:58 -08:00
Update supported mongodb versions
This commit is contained in:
parent
d385d3ce77
commit
ec070c47cb
|
@ -64,7 +64,7 @@ After setup, the web UI is available at https://ip:8443. The application can be
|
||||||
|
|
||||||
### Setting Up Your External Database
|
### Setting Up Your External Database
|
||||||
|
|
||||||
Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that newer versions will work. If you choose to use a newer version be aware that you will not be operating a supported configuration.
|
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported.
|
||||||
|
|
||||||
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
|
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ services:
|
||||||
- MONGO_TLS= #optional
|
- MONGO_TLS= #optional
|
||||||
- MONGO_AUTHSOURCE= #optional
|
- MONGO_AUTHSOURCE= #optional
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/data:/config
|
- /path/to/unifi-network-application/data:/config
|
||||||
ports:
|
ports:
|
||||||
- 8443:8443
|
- 8443:8443
|
||||||
- 3478:3478/udp
|
- 3478:3478/udp
|
||||||
|
@ -195,7 +195,7 @@ docker run -d \
|
||||||
-p 8880:8880 `#optional` \
|
-p 8880:8880 `#optional` \
|
||||||
-p 6789:6789 `#optional` \
|
-p 6789:6789 `#optional` \
|
||||||
-p 5514:5514/udp `#optional` \
|
-p 5514:5514/udp `#optional` \
|
||||||
-v /path/to/data:/config \
|
-v /path/to/unifi-network-application/data:/config \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
lscr.io/linuxserver/unifi-network-application:latest
|
lscr.io/linuxserver/unifi-network-application:latest
|
||||||
```
|
```
|
||||||
|
@ -227,7 +227,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
| `-e MEM_STARTUP=1024` | Optionally change the Java initial/minimum memory (in Megabytes). Set to `default` to reset to default |
|
| `-e MEM_STARTUP=1024` | Optionally change the Java initial/minimum memory (in Megabytes). Set to `default` to reset to default |
|
||||||
| `-e MONGO_TLS=` | Mongodb enable [TLS](https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.tls). Only evaluated on first run. |
|
| `-e MONGO_TLS=` | Mongodb enable [TLS](https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.tls). Only evaluated on first run. |
|
||||||
| `-e MONGO_AUTHSOURCE=` | Mongodb [authSource](https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource). For Atlas set to `admin`.Defaults to `MONGO_DBNAME`.Only evaluated on first run. |
|
| `-e MONGO_AUTHSOURCE=` | Mongodb [authSource](https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource). For Atlas set to `admin`.Defaults to `MONGO_DBNAME`.Only evaluated on first run. |
|
||||||
| `-v /config` | All Unifi data stored here |
|
| `-v /config` | Persistent config files |
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ development_versions: false
|
||||||
param_container_name: "{{ project_name }}"
|
param_container_name: "{{ project_name }}"
|
||||||
param_usage_include_vols: true
|
param_usage_include_vols: true
|
||||||
param_volumes:
|
param_volumes:
|
||||||
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "All Unifi data stored here" }
|
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Persistent config files" }
|
||||||
|
|
||||||
param_usage_include_ports: true
|
param_usage_include_ports: true
|
||||||
param_ports:
|
param_ports:
|
||||||
|
@ -61,7 +61,7 @@ app_setup_block: |
|
||||||
|
|
||||||
### Setting Up Your External Database
|
### Setting Up Your External Database
|
||||||
|
|
||||||
Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that newer versions will work. If you choose to use a newer version be aware that you will not be operating a supported configuration.
|
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported.
|
||||||
|
|
||||||
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
|
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue