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. Set up custom API as Cloudron app?

Set up custom API as Cloudron app?

Scheduled Pinned Locked Moved Discuss
custom apps
3 Posts 3 Posters 386 Views 3 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.
  • E Offline
    E Offline
    ekevu123
    wrote on last edited by girish
    #1

    Is it a good idea to set up a custom python API as a custom Cloudron app? My research showed it was possible, but I couldn't find any direct reference of someone doing it. So, I was wondering if I am missing something?

    The API is super small, but it needs constant availability and no lag longer than usual latency, that's basically it.

    robiR girishG 2 Replies Last reply
    1
    • E ekevu123

      Is it a good idea to set up a custom python API as a custom Cloudron app? My research showed it was possible, but I couldn't find any direct reference of someone doing it. So, I was wondering if I am missing something?

      The API is super small, but it needs constant availability and no lag longer than usual latency, that's basically it.

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      @ekevu123 sure, if you can run your app that responds to API requests from CLI, you can package it in a container and run it as an App.

      Conscious tech

      1 Reply Last reply
      1
      • E ekevu123

        Is it a good idea to set up a custom python API as a custom Cloudron app? My research showed it was possible, but I couldn't find any direct reference of someone doing it. So, I was wondering if I am missing something?

        The API is super small, but it needs constant availability and no lag longer than usual latency, that's basically it.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @ekevu123 don't see why not. Running selfhosted custom apps is part of Cloudron. We run many custom apps which expose an API (but mostly nodejs).

        https://ipv4.api.cloudron.io/api/v1/helper/public_ip and https://ipv6.api.cloudron.io/api/v1/helper/public_ip 🙂 for example gives your public IP.

        1 Reply Last reply
        2
        • girishG girish moved this topic from Support on
        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