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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Environment Variables to expose as part of the application runtime.

    Feature Requests
    2
    2
    142
    Loading More Posts
    • 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.
    • nj
      nj last edited by

      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 & OpenSource Lover. My Cloudron Apps

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @nj last edited by

        @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 Reply Quote 1
        • First post
          Last post
        Powered by NodeBB