Hello, I installed discourse on a new and dedicated machine following the guide at https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md .
The server has 15GB of disk and also if the installation is not prduction running (less than 10 users, no attachments, some post created and deleted) it seems the installation size is rather big.
#df -kh
Filesystem Size Used Avail Use% Mounted on
udev 950M 0 950M 0% /dev
tmpfs 199M 1.3M 198M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 15G 11G 3.2G 78% /
tmpfs 994M 0 994M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 994M 0 994M 0% /sys/fs/cgroup
/dev/sda2 976M 203M 707M 23% /boot
/dev/loop0 56M 56M 0 100% /snap/core18/2066
/dev/loop1 56M 56M 0 100% /snap/core18/2074
/dev/loop2 33M 33M 0 100% /snap/snapd/12398
/dev/loop3 33M 33M 0 100% /snap/snapd/12159
/dev/loop4 68M 68M 0 100% /snap/lxd/20326
overlay 15G 11G 3.2G 78% /var/lib/docker/overlay2/ef92e2dc7a656c20eccbbdd40e660c76631ef48b6989f9ded3889a929eb*****/merged
/dev/loop6 71M 71M 0 100% /snap/lxd/21029
tmpfs 199M 0 199M 0% /run/user/1000
# du -csh /var/lib/docker/overlay2
580M 51d029d96e73b67e449f0b0570be47b6292da46c8c69b9f0dc6df35db85*****
2.3G ae38f397c79178185e26b87a9e2c6c890b0db9d3456de6d34ae3c3b96db*****
76M d1b8d94d2ecfa140794c61e2a81ad4a09eba1646d764018cf5afd433b51*****
4.5G ef92e2dc7a656c20eccbbdd40e660c76631ef48b6989f9ded3889a929eb*****
40K ef92e2dc7a656c20eccbbdd40e660c76631ef48b6989f9ded3889a929eb*****-init
24K l
7.4G total
# du -shc /var/lib/docker/overlay2/*/diff
580M /var/lib/docker/overlay2/51d029d96e73b67e449f0b0570be47b6292da46c8c69b9f0dc6df35db85*****/diff
2.3G /var/lib/docker/overlay2/ae38f397c79178185e26b87a9e2c6c890b0db9d3456de6d34ae3c3b96db*****/diff
76M /var/lib/docker/overlay2/d1b8d94d2ecfa140794c61e2a81ad4a09eba1646d764018cf5afd433b51*****/diff
996M /var/lib/docker/overlay2/ef92e2dc7a656c20eccbbdd40e660c76631ef48b6989f9ded3889a929eb*****/diff
20K /var/lib/docker/overlay2/ef92e2dc7a656c20eccbbdd40e660c76631ef48b6989f9ded3889a929eb*****-init/diff
3.9G total
# docker images -a
REPOSITORY TAG IMAGE ID CREATED SIZE
local_discourse/app latest b29b7073fea2 2 months ago 2.69GB
<none> <none> 30e4746e631e 3 months ago 2.23GB
docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 1 1 2.689GB 0B (0%)
Containers 1 1 950.4MB 0B (0%)
Local Volumes 0 0 0B 0B
Build Cache 0 0 0B 0B
Tried this but didnāt help
# /var/discourse/launcher cleanup
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
WARNING! This will remove all images without at least one container associated to them.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
I am worried once in production the installation will eat more and more space and it could break.
Could you advice what is the normal size of the docker image and installation and what can I do to free up some space?
Thanks