Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Which server automation tools do you run with Cloudron?

Which server automation tools do you run with Cloudron?

Scheduled Pinned Locked Moved Discuss
8 Posts 5 Posters 69 Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oatmealdegree
    wrote last edited by
    #1

    Hey everyone!

    I'm curious about the kinds of tools you're running alongside Cloudron to help with sysadmin tasks, especially those related to automation and orchestration.

    Are you integrating external tools for things like:

    Server patching?

    Config backups?

    Scripted provisioning?

    Multi-app deployment?

    Would love to learn what works best for your setup — CLI tools, platforms, custom scripts, anything goes!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hilt3323
      wrote last edited by
      #2

      For automated backups and config versioning, integrating with Restic or Borg via scheduled scripts outside of Cloudron’s own backup system can add an extra layer of redundancy.

      1 Reply Last reply
      0
      • SansGuidonS Online
        SansGuidonS Online
        SansGuidon
        wrote last edited by
        #3
        • ci/cd pipelines my app custom scripts, configs and cron jobs are managed via ci/cd pipelines using Cloudron CLI/API. That's what I'm most happy with.
        • auto-repair scripts for application that can crash (without restarting) in Cloudron, so this will in fact monitor some apps every x minutes and restart them if they timeout for too often/long.
        • monitoring of UI notifications via changedetection because it works best than monitoring via API.
        • monitoring of my apps via uptime kuma

        other stuff I do

        • automated server backups of course
        • manual backups before/after big configuration changes

        stuff I want to improve

        • deployment of custom apps : still via CLI for now whereas I want to use ci/cd
        • monitoring of remaining disk space (still manual)
        • monitoring of app logs (still manual for now) to check for weird behaviors

        About me / Now

        timconsidineT 1 Reply Last reply
        0
        • T Offline
          T Offline
          tilerseem
          wrote last edited by
          #4

          Cool topic! I’ve tried a bunch of stuff to streamline my infra, especially when juggling multiple servers.

          Some things I rely on:

          Puppet: still my go-to for config management and app bootstrapping.

          Cronicle: great for scheduling and logging tasks that don’t need a full CI/CD pipeline.

          Attune: lets you write scripts and orchestrate them across machines.

          Restic for backups, especially when paired with rclone.

          Would be awesome if Cloudron supported hooks into these kinds of tools natively someday!

          1 Reply Last reply
          0
          • SansGuidonS SansGuidon
            • ci/cd pipelines my app custom scripts, configs and cron jobs are managed via ci/cd pipelines using Cloudron CLI/API. That's what I'm most happy with.
            • auto-repair scripts for application that can crash (without restarting) in Cloudron, so this will in fact monitor some apps every x minutes and restart them if they timeout for too often/long.
            • monitoring of UI notifications via changedetection because it works best than monitoring via API.
            • monitoring of my apps via uptime kuma

            other stuff I do

            • automated server backups of course
            • manual backups before/after big configuration changes

            stuff I want to improve

            • deployment of custom apps : still via CLI for now whereas I want to use ci/cd
            • monitoring of remaining disk space (still manual)
            • monitoring of app logs (still manual for now) to check for weird behaviors
            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote last edited by
            #5

            @SansGuidon said in Which server automation tools do you run with Cloudron?:

            monitoring of remaining disk space (still manual)

            I use ntfy (here on Cloudron) and a small script run via cron.

            SansGuidonS 1 Reply Last reply
            1
            • timconsidineT timconsidine

              @SansGuidon said in Which server automation tools do you run with Cloudron?:

              monitoring of remaining disk space (still manual)

              I use ntfy (here on Cloudron) and a small script run via cron.

              SansGuidonS Online
              SansGuidonS Online
              SansGuidon
              wrote last edited by SansGuidon
              #6

              @timconsidine said in Which server automation tools do you run with Cloudron?:

              @SansGuidon said in Which server automation tools do you run with Cloudron?:

              monitoring of remaining disk space (still manual)

              I use ntfy (here on Cloudron) and a small script run via cron.

              Yes that looks like a good idea, I would need to spend some time to glue all this in a proper script.

              About me / Now

              timconsidineT 1 Reply Last reply
              0
              • SansGuidonS SansGuidon

                @timconsidine said in Which server automation tools do you run with Cloudron?:

                @SansGuidon said in Which server automation tools do you run with Cloudron?:

                monitoring of remaining disk space (still manual)

                I use ntfy (here on Cloudron) and a small script run via cron.

                Yes that looks like a good idea, I would need to spend some time to glue all this in a proper script.

                timconsidineT Offline
                timconsidineT Offline
                timconsidine
                App Dev
                wrote last edited by
                #7

                @SansGuidon I have a basic script (nb basic) which I will dig out

                1 Reply Last reply
                1
                • SansGuidonS Online
                  SansGuidonS Online
                  SansGuidon
                  wrote last edited by
                  #8

                  Thanks, in the meantime I cooked something like this that I put under some /app/data/scripts/cloudron folder in some LAMP server

                  check_storage.sh
                  ---
                  #!/usr/bin/env bash
                  set -euo pipefail
                  
                  CONFIG_FILE="/app/data/scripts/cloudron/cloudron_monitor.env"
                  [ -f "$CONFIG_FILE" ] || { echo "Missing config file: $CONFIG_FILE" >&2; exit 1; }
                  source "$CONFIG_FILE"
                  
                  CLOUDRON_URL="https://my.cloudronsrv.tld"
                  NTFY_URL="https://ntfy.cloudronsrv.tld"
                  ALERT_THRESHOLD=75 # %
                  
                  # get raw JSON from Cloudron
                  disk_json=$(curl -sS -H "Authorization: Bearer ${CLOUDRON_TOKEN}" \
                      -H "Content-Type: application/json" \
                      "$CLOUDRON_URL/api/v1/system/disk_usage")
                  
                  # parse and alert if needed
                  alerted=0
                  echo "$disk_json" | jq -r '
                    .usage.filesystems
                    | to_entries[]
                    | {fs: .key, cap: (.value.capacity * 100 | floor)}
                    | select(.cap >= '"$ALERT_THRESHOLD"')
                    | "\(.fs): \(.cap)% used"
                  ' | while read -r line; do
                      # Send alert via ntfy
                      curl -sS -u "$NTFY_USER:$NTFY_PASS" \
                        -H "Title: Disk usage alert" \
                        -H "Tags: warning,disk" \
                        -d "$line" \
                        "$NTFY_URL/disk-alert"
                      alerted=1
                  done
                  
                  exit "$alerted"
                  
                  
                  ---
                  cloudron_monitor.env.template
                  ---
                  NTFY_PASS='xxxxxxxxx'
                  NTFY_USER='yyyyyyyyy'
                  CLOUDRON_TOKEN='xxxx'
                  

                  which does the job

                  About me / Now

                  1 Reply Last reply
                  1
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search