aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/pgsql.ini.tmpl
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-09-13 09:03:20 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-09-13 14:03:20 +0800
commit377cd1ae387bbd4659fddf49d4ef719510454547 (patch)
tree12918da506a8305a59f013e6b1a808a9d73c8216 /integrations/pgsql.ini.tmpl
parent005900baead84d02b276a2179dee10f00d4d251b (diff)
downloadgitea-377cd1ae387bbd4659fddf49d4ef719510454547.tar.gz
gitea-377cd1ae387bbd4659fddf49d4ef719510454547.zip
Allow changing integration test database connection using env variables (#2484)
Diffstat (limited to 'integrations/pgsql.ini.tmpl')
-rw-r--r--integrations/pgsql.ini.tmpl61
1 files changed, 61 insertions, 0 deletions
diff --git a/integrations/pgsql.ini.tmpl b/integrations/pgsql.ini.tmpl
new file mode 100644
index 0000000000..fa1fd6aa12
--- /dev/null
+++ b/integrations/pgsql.ini.tmpl
@@ -0,0 +1,61 @@
+APP_NAME = Gitea: Git with a cup of tea
+RUN_MODE = prod
+
+[database]
+DB_TYPE = postgres
+HOST = {{TEST_PGSQL_HOST}}
+NAME = {{TEST_PGSQL_DBNAME}}
+USER = {{TEST_PGSQL_USERNAME}}
+PASSWD = {{TEST_PGSQL_PASSWORD}}
+SSL_MODE = disable
+PATH = data/gitea.db
+
+[repository]
+ROOT = integrations/gitea-integration-pgsql/gitea-repositories
+
+[repository.local]
+LOCAL_COPY_PATH = tmp/local-repo-pgsql
+
+[server]
+SSH_DOMAIN = localhost
+HTTP_PORT = 3002
+ROOT_URL = http://localhost:3002/
+DISABLE_SSH = false
+SSH_PORT = 22
+LFS_START_SERVER = false
+OFFLINE_MODE = false
+
+[mailer]
+ENABLED = false
+
+[service]
+REGISTER_EMAIL_CONFIRM = false
+ENABLE_NOTIFY_MAIL = false
+DISABLE_REGISTRATION = false
+ENABLE_CAPTCHA = false
+REQUIRE_SIGNIN_VIEW = false
+DEFAULT_KEEP_EMAIL_PRIVATE = false
+DEFAULT_ALLOW_CREATE_ORGANIZATION = true
+NO_REPLY_ADDRESS = noreply.example.org
+
+[picture]
+DISABLE_GRAVATAR = false
+ENABLE_FEDERATED_AVATAR = false
+
+[session]
+PROVIDER = file
+
+[log]
+MODE = console,file
+ROOT_PATH = pgsql-log
+
+[log.console]
+LEVEL = Warn
+
+[log.file]
+LEVEL = Debug
+
+[security]
+INSTALL_LOCK = true
+SECRET_KEY = 9pCviYTWSb
+INTERNAL_TOKEN = test