|
|
|
@ -7,7 +7,7 @@ RUN_USER = lunny
|
|
|
|
|
RUN_MODE = dev
|
|
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
|
ROOT = /home/work/%(RUN_USER)s/git/gogs-repositories
|
|
|
|
|
ROOT = /Users/%(RUN_USER)s/git/gogs-repositories
|
|
|
|
|
LANG_IGNS = Google Go|C|C++|Python|Ruby|C Sharp
|
|
|
|
|
LICENSES = Apache v2 License|GPL v2|MIT License|Affero GPL|Artistic License 2.0|BSD (3-Clause) License
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ LICENSES = Apache v2 License|GPL v2|MIT License|Affero GPL|Artistic License 2.0|
|
|
|
|
|
DOMAIN = localhost
|
|
|
|
|
ROOT_URL = http://%(DOMAIN)s:%(HTTP_PORT)s/
|
|
|
|
|
HTTP_ADDR =
|
|
|
|
|
HTTP_PORT = 8002
|
|
|
|
|
HTTP_PORT = 3000
|
|
|
|
|
|
|
|
|
|
[database]
|
|
|
|
|
; Either "mysql", "postgres" or "sqlite3"(binary release only), it's your choice
|
|
|
|
@ -23,7 +23,7 @@ DB_TYPE = mysql
|
|
|
|
|
HOST =
|
|
|
|
|
NAME = gogs
|
|
|
|
|
USER = root
|
|
|
|
|
PASSWD = toor
|
|
|
|
|
PASSWD =
|
|
|
|
|
; For "postgres" only, either "disable", "require" or "verify-full"
|
|
|
|
|
SSL_MODE = disable
|
|
|
|
|
; For "sqlite3" only
|
|
|
|
|