this post was submitted on 18 Jun 2023
1 points (100.0% liked)

Self Hosted

7 readers
1 users here now

A place to discuss anything Selfhosting.

Rules

Rules will be expanded if need be.

This is a revival of the selfhosted community on Burggit. The original community was deleted by its owner.

founded 1 year ago
MODERATORS
 

Edit: The default setting from lemmy-ansible is fine since it assumes you have your own log driver setting for the docker daemon. It wasn't working for me because I updated the daemon settings after the lemmy containers were created. A quick docker compose down and up did the trick.

My own instance has been running for about a week and I've noticed the free space on my disk is being eaten away at a suspiciously fast rate. I checked with ncdu and apparently the lemmy container has a log file that is a gigabyte json blob. The docker compose yaml file does not define a logging driver, which means the default json driver will be used, and it has no rotation.

I've deleted it and modified docker-compose.yml to use local logging for now. Just throwing this out here in case anyone is having the same issue.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here