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

    Solved Questions about Cloudron Gogs Config File Settings

    Gogs
    2
    4
    271
    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.
    • A
      ambaxter last edited by ambaxter

      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 Reply Quote 0
      • girish
        girish Staff last edited by

        @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 Reply Quote 0
        • girish
          girish Staff last edited by

          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
          
          1 Reply Last reply Reply Quote 1
          • A
            ambaxter last edited by

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