Hi,
I am using my CoreOS just to run single container of unifi cloud controller. But I think there is a problem with my installation because the memory usage will raised over time until the server become unresponsive at all. Here is the screenshot of top memory usage:
Any idea why there is java & mongod service in my installation? I am only running this command to install docker-compose after initiating my server:
sudo rpm-ostree install docker-compose
And here is my docker-compose file content:
---
version: "2.1"
services:
unifi-controller:
image: linuxserver/unifi-controller
container_name: unifi-controller
privileged: true
environment:
- PUID=1000
- PGID=1000
- MEM_LIMIT=1024M #optional
volumes:
- /var/home/core/volumes/unifi-config:/config
ports:
- 3478:3478/udp
- 10001:10001/udp
- 8080:8080
- 443:8443
- 1900:1900/udp #optional
- 8843:8843 #optional
- 8880:8880 #optional
- 6789:6789 #optional
- 5514:5514 #optional
restart: unless-stopped
And finally here is the content of my ignition file:
variant: fcos
version: 1.0.0
passwd:
users:
- name: core
ssh_authorized_keys:
- "ssh-ed25519 AAAA**********"
groups: [ sudo, docker ]
storage:
files:
- path: /etc/hostname
overwrite: true
contents:
inline: unifi