mastodon.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
A newer server operated by the Mastodon gGmbH non-profit

Server stats:

10K
active users

#nextcloud

82 posts73 participants0 posts today

Pour me changer les idées d'#osm, je me suis créé un site qui se veut #smolweb avec gohugo.io afin d'y basculer toutes mes #recettes de #cuisine.

Avec un site léger, les temps de chargement sont incroyablement brefs. J'aime bien #nextcloud et #cookbook, mais d'abord on ne peut pas rendre publique les recettes, et ensuite ce sont vraiment des pages obèses.

Il me reste quelques centaines de recettes à basculer 🥴 mais c'est en route 😋
alterzorg.fr/recettes/

Continued thread

The Nextcloud pod as seen under the Podman containers menu in Cockpit.

In a termninal, I can run:

$ sudo podman healthcheck run nextcloud-app

to run the healthcheck on a single container, or run:

$ sudo podman ps

to see the health state for all running containers.

Initiativet for demokratisk datafellesskap i #norge har digitalt møte med danske @datacoop tirsdag 29. april kl 20 - 2130~2200

Et #datafellesskap er en medlemsorganisasjon for samarbeid om drift av felles digitale tjenester, som #nextcloud, sosiale media, #peertube, forum, chat, o.l.

Bli med du som vil lære hvordan de har gjort ting i ti år i Danmark, og vil bli med i den kommende norske søsterforeningen :)

Møtelenke meet.jit.si/DatafellesskapErNa
Diskusjon forum.fedi.dk/topic/154

meet.jit.siJitsi MeetJoin a WebRTC video conference powered by the Jitsi Videobridge

I need some help from the #selfhosting and #homelab community, I have reached full analysis paralysis!

I have 3 weeks left to determine what hardware to buy for my #selfhosted #homeprod my goal is to run #nextcloud & #immich in production well enough that It can seamlessly support my wife to #degoogle

I was leaning towards #talos cluster or #k3s for #kubernetes and #longhorn storage, but might all be overkill

Have determined I have these options are similar price & energy budget points:

Continued thread

4) caddy:latest

The caddy image doesn't have any built-in healthcheck, and even `curl` is missing.

Luckily `wget` is available, and I use it to call Nextcloud's status page. This does check for more than the health of the caddy service itself.

Add the following in the [Container] section of the nextcloud-web.container:
...
HealthCmd=wget --quiet --spider --tries=1 cloud.example.com/status.php || exit 1
HealthStartPeriod=10s
HealthInterval=30s
HealthTimeout=5s
HealthRetries=5
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck #caddy

github.com/caddyserver/caddy-d

Continued thread

3) nextcloud:fpm-alpine

This one wasn't obvious, but I was able to put something together, inspired by a closed github issue. The HealthCmd uses the built-in `occ status` command.

Add the following in the [Container] section of the nextcloud-app.container:
...
HealthCmd=php occ status 2>/dev/null | grep -e "installed: true" -e "maintenance: false" -e "needsDbUpgrade: false" | wc -l | [ "`cat`" = "3" ] || exit 1
HealthStartPeriod=20s
HealthInterval=60s
HealthTimeout=10s
HealthRetries=5
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck

github.com/nextcloud/docker/is

Current version of nextcloud presents the serverinfo path to check server status using external tools. http://localhost/ocs/v2.php/apps/serverinfo/api/v1/info I think such scripts are the perfect p...
GitHubuse serverinfo for docker healthcheck · Issue #676 · nextcloud/dockerBy cguentherTUChemnitz
Continued thread

2) valkey/valkey:alpine

I've recently switched from redis to valkey, but they are compatible. I'll use the redis-cli tool to ping the service.

Add the following in the [Container] section of the nextcloud-redis.container:
...
HealthCmd=redis-cli ping || exit 1
HealthStartPeriod=10s
HealthInterval=30s
HealthTimeout=30s
HealthRetries=3
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck #redis #valkey

redis.io/learn/operate/redis-a

redis.io1.1 The Command Line Tool: Redis-CLIBuild fast apps fast with Redis.