I’ve recently migrated to the LSCR unifi new container for Unifi Network Application.
The previous version (GitHub - linuxserver/docker-unifi-controller) has been using well on a RPi 4 4gb. Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-1042-raspi aarch64)
I would not consider this RPi as busy; running PiHole, Portainer, Unifi and Heimdall.
Following GitHub - linuxserver/docker-unifi-network-application i have setup a docker-compose.yaml in portainer to deploy a full stack. After deploying this stack 2 weeks ago, everything was working fine.
I did see an uptick on RPi CPU load to 53% (+10%) and Memory utilization to 55%.
dmesg is not showing errors. Any reason why the cpu load went up?
---
version: "2.1"
services:
unifi-network-application:
image: lscr.io/linuxserver/unifi-network-application:latest
container_name: unifi-network-application
#profiles:
#- donotstart
depends_on:
- mongodb
environment:
- PUID=1000
- PGID=1000
- TZ=MyTz
- MONGO_USER=unifi
- MONGO_PASS=MyPassword
- MONGO_HOST=mongodb
- MONGO_PORT=27017
- MONGO_DBNAME=unifi
- MEM_LIMIT=1024 #optional
- MEM_STARTUP=1024 #optional
volumes:
- /Opt/unifi-network-app/config:/config
ports:
- 8443:8443
- 3478:3478/udp
- 10001:10001/udp
- 8080:8080
- 1900:1900/udp #optional
- 8843:8843 #optional
- 8880:8880 #optional
- 6789:6789 #optional
- 5514:5514/udp #optional
restart: unless-stopped
mongodb:
image: arm64v8/mongo:4.4.18
restart: always
ports:
- 27017:27017
environment:
PUID: 1000
PGID: 1000
volumes:
- /Opt/unifi-mongo/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
- /Opt/unifi-mongo/data:/data
mongo-express:
image: mongo-express
restart: always
#profiles:
#- donotstart
depends_on:
- mongodb
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_URL: mongodb://unifi:MyPassword@mongodb
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_BASICAUTH_USERNAME: unifi
ME_CONFIG_BASICAUTH_PASSWORD: MyPassword
volumes:
- /Opt/unifi-mongo-web:/data/db
volumes:
unifi-mongo-db:
unifi-mongo-web: