Gogs: Where is the custom folder in Docker Container?

Created on 5 Apr 2018  路  3Comments  路  Source: gogs/gogs

  • Gogs version (or commit ref): 0.11.43.0330
  • Git version: N/A
  • Operating system: Alpine Linux
  • Database (use [x]):

    • [ ] PostgreSQL

    • [x] MySQL

    • [ ] MSSQL

    • [ ] SQLite

  • Can you reproduce the bug at https://try.gogs.io:

    • [ ] Yes (provide example URL)

    • [ ] No

    • [x] Not relevant

  • Log gist (usually found in log/gogs.log): N/A

Description

Tried every combination of folders in /var/gogs to create a custom/conf/app.ini file for further customisation but wherever I put the file my changes are not being picked up. I searched all over for a clear document that indicates where is this custom folder supposed to go in a Docker container install.

Here are a few locations I tried without much luck:

/var/gogs/gogs/data/custom
/var/gogs/custom

Here's my Docker container startup (which is default from Docker for Gogs page).

docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs

馃摉 documentation

Most helpful comment

Hi, according to https://github.com/gogits/gogs/blob/4d1d66d906321e5bdcc6b22a8fe054bd95723f36/Dockerfile#L19

The /var/gogs/gogs itself is already the "custom" folder. I'll update the README to make it more clear.

All 3 comments

Hi, according to https://github.com/gogits/gogs/blob/4d1d66d906321e5bdcc6b22a8fe054bd95723f36/Dockerfile#L19

The /var/gogs/gogs itself is already the "custom" folder. I'll update the README to make it more clear.

That commit definitely clears up the confusion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

galactics picture galactics  路  3Comments

Lord0 picture Lord0  路  3Comments

r0bc94 picture r0bc94  路  3Comments

ziozzang picture ziozzang  路  3Comments

sbarre-esit picture sbarre-esit  路  3Comments