Manuel Friedli
53a6b7eafe
add ebuild for gitlab-ce 9.2.2 Package-Manager: Portage-2.3.5, Repoman-2.3.1
102 lines
2.3 KiB
Diff
102 lines
2.3 KiB
Diff
diff --git a/config/database.yml.mysql b/config/database.yml.mysql
|
|
index db1b712..a3b5ecc 100644
|
|
--- a/config/database.yml.mysql
|
|
+++ b/config/database.yml.mysql
|
|
@@ -3,42 +3,12 @@
|
|
#
|
|
production:
|
|
adapter: mysql2
|
|
- encoding: utf8
|
|
- collation: utf8_general_ci
|
|
+ encoding: utf8mb4
|
|
+ collation: utf8mb4_general_ci
|
|
reconnect: false
|
|
- database: gitlabhq_production
|
|
+ database: gitlab
|
|
pool: 10
|
|
username: git
|
|
password: "secure password"
|
|
# host: localhost
|
|
- # socket: /tmp/mysql.sock
|
|
-
|
|
-#
|
|
-# Development specific
|
|
-#
|
|
-development:
|
|
- adapter: mysql2
|
|
- encoding: utf8
|
|
- collation: utf8_general_ci
|
|
- reconnect: false
|
|
- database: gitlabhq_development
|
|
- pool: 5
|
|
- username: root
|
|
- password: "secure password"
|
|
- # host: localhost
|
|
- # socket: /tmp/mysql.sock
|
|
-
|
|
-# Warning: The database defined as "test" will be erased and
|
|
-# re-generated from your development database when you run "rake".
|
|
-# Do not set this db to the same as development or production.
|
|
-test: &test
|
|
- adapter: mysql2
|
|
- encoding: utf8mb4
|
|
- collation: utf8mb4_general_ci
|
|
- reconnect: false
|
|
- database: gitlabhq_test
|
|
- pool: 5
|
|
- username: root
|
|
- password:
|
|
- # host: localhost
|
|
- # socket: /tmp/mysql.sock
|
|
+ # socket: /run/mysqld/mysqld.sock
|
|
diff --git a/config/database.yml.postgresql b/config/database.yml.postgresql
|
|
index c517a4c..28f7993 100644
|
|
--- a/config/database.yml.postgresql
|
|
+++ b/config/database.yml.postgresql
|
|
@@ -4,45 +4,9 @@
|
|
production:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
- database: gitlabhq_production
|
|
+ database: gitlab
|
|
pool: 10
|
|
# username: git
|
|
# password:
|
|
# host: localhost
|
|
# port: 5432
|
|
-
|
|
-#
|
|
-# Development specific
|
|
-#
|
|
-development:
|
|
- adapter: postgresql
|
|
- encoding: unicode
|
|
- database: gitlabhq_development
|
|
- pool: 5
|
|
- username: postgres
|
|
- password:
|
|
- # host: localhost
|
|
-
|
|
-#
|
|
-# Staging specific
|
|
-#
|
|
-staging:
|
|
- adapter: postgresql
|
|
- encoding: unicode
|
|
- database: gitlabhq_staging
|
|
- pool: 5
|
|
- username: postgres
|
|
- password:
|
|
- # host: localhost
|
|
-
|
|
-# Warning: The database defined as "test" will be erased and
|
|
-# re-generated from your development database when you run "rake".
|
|
-# Do not set this db to the same as development or production.
|
|
-test: &test
|
|
- adapter: postgresql
|
|
- encoding: unicode
|
|
- database: gitlabhq_test
|
|
- pool: 5
|
|
- username: postgres
|
|
- password:
|
|
- # host: localhost
|