Spencer Gardner пре 7 година
родитељ
комит
fcffb1e09b
2 измењених фајлова са 24 додато и 2 уклоњено
  1. 2 2
      Dockerfile
  2. 22 0
      custom/conf/app.ini

+ 2 - 2
Dockerfile

@@ -21,6 +21,6 @@ ENV USER root
 
 COPY --from=build /go/src/github.com/gogits/gogs /gogs
 
-ADD custom /gogs/custom
+#ADD custom /gogs/custom
 
-WORkDIR /gogs
+WORKDIR /gogs

+ 22 - 0
custom/conf/app.ini

@@ -0,0 +1,22 @@
+[database]
+DB_TYPE  = sqlite3
+NAME     = gogs
+USER     = root
+PASSWD   =
+SSL_MODE = disable
+PATH     = /data/gogs.db
+
+[repository]
+ROOT = /data/gogs-repositories
+
+[server]
+HTTP_PORT        = 80
+DISABLE_SSH      = false
+SSH_PORT         = 22
+START_SSH_SERVER = false
+OFFLINE_MODE     = false
+
+
+[log]
+ROOT_PATH = /data/log
+