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. Gogs
  3. Questions about Cloudron Gogs Config File Settings

Questions about Cloudron Gogs Config File Settings

Scheduled Pinned Locked Moved Solved Gogs
5 Posts 3 Posters 1.1k 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.
    • ambaxterA Offline
      ambaxterA Offline
      ambaxter
      wrote on last edited by ambaxter
      #1

      Just switching over to Cloudron Gogs from a standalone install.

      Questions:

      1.) Where is the config file on the server? Is it possible to modify it manually? I ask because the Gogs settings in the browser have always been read-only. Unless there's a way to edit everything there. (I located an /run/gogs/app.ini but comments said not to edit that one).

      2.) How do I disable registration in the Cloudron version?

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @ambaxter All user settings for Cloudron apps are localed under /app/data. For Gogs, you can add custom settings to /app/data/app.ini. You can also edit this file using the File Manager (under 'Console' section of the app).

        There's more info here - https://docs.cloudron.io/apps/gogs/

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          It seems the config docs (https://gogs.io/docs/advanced/configuration_cheat_sheet) is now broken. Maybe https://github.com/gogs/gogs/blob/main/conf/app.ini is a better reference now.

          To disable registration, add the below in app.ini and restart the app:

          [auth]
          DISABLE_REGISTRATION = true
          
          rosanoR 1 Reply Last reply
          1
          • ambaxterA Offline
            ambaxterA Offline
            ambaxter
            wrote on last edited by
            #4

            @girish
            All excellent information. Thanks! I was able to get everything set up the way I wanted. And MUCH easier than the standalone installation. As a fan of self-hosted, I'm really enjoying Cloudron.

            1 Reply Last reply
            2
            • girishG girish

              It seems the config docs (https://gogs.io/docs/advanced/configuration_cheat_sheet) is now broken. Maybe https://github.com/gogs/gogs/blob/main/conf/app.ini is a better reference now.

              To disable registration, add the below in app.ini and restart the app:

              [auth]
              DISABLE_REGISTRATION = true
              
              rosanoR Offline
              rosanoR Offline
              rosano
              wrote on last edited by
              #5

              @girish said in Questions about Cloudron Gogs Config File Settings:

              It seems the config docs (https://gogs.io/docs/advanced/configuration_cheat_sheet) is now broken.

              source still available https://github.com/gogs/docs/blob/b3379ec57b24f2a9a079c0cd9fede86fec6e3a99/en-US/advanced/configuration_cheat_sheet.md

              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