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. Feature Requests
  3. Environment Variables to expose as part of the application runtime.

Environment Variables to expose as part of the application runtime.

Scheduled Pinned Locked Moved Feature Requests
2 Posts 2 Posters 427 Views 1 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.
    • njN Offline
      njN Offline
      nj
      wrote on last edited by
      #1

      Currently, cloudron exposes these variables:

      CLOUDRON
      CLOUDRON_API_ORIGIN
      CLOUDRON_APP_DOMAIN
      CLOUDRON_APP_ORIGIN
      CLOUDRON_PROXY_IP
      CLOUDRON_WEBADMIN_ORIGIN
      

      Many of the apps can be configured to set custom labels for things like Application Title or Website Name or, most commonly, Mail from: NAME. I'm in need of the following environment variables to be exposed. If you need more variables, please add them to this thread.

      CLOUDRON_APP_LABEL
      

      Founder / Coder • My Apps

      nebulonN 1 Reply Last reply
      0
      • njN nj

        Currently, cloudron exposes these variables:

        CLOUDRON
        CLOUDRON_API_ORIGIN
        CLOUDRON_APP_DOMAIN
        CLOUDRON_APP_ORIGIN
        CLOUDRON_PROXY_IP
        CLOUDRON_WEBADMIN_ORIGIN
        

        Many of the apps can be configured to set custom labels for things like Application Title or Website Name or, most commonly, Mail from: NAME. I'm in need of the following environment variables to be exposed. If you need more variables, please add them to this thread.

        CLOUDRON_APP_LABEL
        
        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @nj not sure if this would be a good idea to map Cloudron dashboard labels of apps into the apps as such. It will be quite hard to explain where such labels within the app might come from. Further an app label is not required, so it may be unclear what to be used as the fallback default. Or maybe I haven't really understood what kind of label this might be. If you look for general env variable support, the cloudron cli tool support adding further env variables https://docs.cloudron.io/packaging/cheat-sheet/#environment-variables

        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