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. Penpot
  3. Environment file

Environment file

Scheduled Pinned Locked Moved Solved Penpot
8 Posts 3 Posters 571 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.
  • LanhildL Offline
    LanhildL Offline
    Lanhild
    App Dev
    wrote on last edited by
    #1

    How am I supposed to configure the application's environment variables?

    1 Reply Last reply
    0
    • jamesJ james

      @Lanhild was this issue resolved?

      LanhildL Offline
      LanhildL Offline
      Lanhild
      App Dev
      wrote last edited by
      #8

      @james I haven't tried to make the modifications suggested since then, but i have good reasons to believe it'd work.

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        The app package currently has no way to configure anything via env variables. Do you have a link to what you want to customize?

        LanhildL 1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • nebulonN nebulon

          The app package currently has no way to configure anything via env variables. Do you have a link to what you want to customize?

          LanhildL Offline
          LanhildL Offline
          Lanhild
          App Dev
          wrote on last edited by
          #3

          @nebulon This

          and also this https://help.penpot.app/technical-guide/configuration/#frontend

          I've taken a quick look at the app's Cloudron package, and it seems like it simply needs a symbolic link from /run/penpot/env.sh

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            We can add an env.sh to be sourced from /app/data/env.sh however the runtime config will have to overwrite most settings in order to ensure it working.

            Which variables do you intend to change, so we can first see if it is even viable?

            LanhildL 1 Reply Last reply
            0
            • nebulonN nebulon

              We can add an env.sh to be sourced from /app/data/env.sh however the runtime config will have to overwrite most settings in order to ensure it working.

              Which variables do you intend to change, so we can first see if it is even viable?

              LanhildL Offline
              LanhildL Offline
              Lanhild
              App Dev
              wrote on last edited by
              #5

              @nebulon mostly, I want to override Cloudron's OIDC for this app.

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                Right I think for this we should rather adjust the package to enable the optionalSso flag, otherwise this can have unexpected side-effects, if the app state assumes Cloudron OIDC and thus ensures that on startup, while the user overwrites some related env vars for custom use. This will especially become an issue if env vars change in the future.

                1 Reply Last reply
                0
                • jamesJ Offline
                  jamesJ Offline
                  james
                  Staff
                  wrote last edited by
                  #7

                  @Lanhild was this issue resolved?

                  LanhildL 1 Reply Last reply
                  0
                  • jamesJ james

                    @Lanhild was this issue resolved?

                    LanhildL Offline
                    LanhildL Offline
                    Lanhild
                    App Dev
                    wrote last edited by
                    #8

                    @james I haven't tried to make the modifications suggested since then, but i have good reasons to believe it'd work.

                    1 Reply Last reply
                    0
                    • jamesJ james has marked this topic as solved
                    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