mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-23 00:50:54 +08:00
fix(Delopy Script): change settings
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
host: <host>
|
||||
host: localhost
|
||||
allowRegister: true
|
||||
email:
|
||||
name: CodeFever Community
|
||||
|
||||
@@ -9,16 +9,16 @@ releaseNumber: '00000000000001'
|
||||
|
||||
# mysql configuration
|
||||
mysql:
|
||||
host: <mysql_host>
|
||||
port: <mysql_port>
|
||||
username: <mysql_user>
|
||||
password: <mysql_pass>
|
||||
host: localhost
|
||||
port: 3306
|
||||
username: root
|
||||
password: 123456
|
||||
db: codefever_community
|
||||
|
||||
# session setting
|
||||
session:
|
||||
domain: <session_host>
|
||||
name: <session_name>
|
||||
domain: localhost
|
||||
name: codefever_community
|
||||
key: <session_key>
|
||||
|
||||
# path
|
||||
|
||||
@@ -31,6 +31,11 @@ cp codefever-service-template /etc/init.d/codefever
|
||||
|
||||
echo 'services installed!'
|
||||
|
||||
cp ../config.template.yaml ./config.yaml
|
||||
cp ../env.template.yaml ./env.yaml
|
||||
|
||||
echo 'env files generated!'
|
||||
|
||||
service codefever start
|
||||
service php-fpm start
|
||||
service nginx start
|
||||
@@ -38,3 +43,9 @@ service nginx start
|
||||
echo 'services started!'
|
||||
|
||||
echo 'Done!'
|
||||
|
||||
echo '=== IMPORTANT NOTICE ==='
|
||||
echo '1. You shuold edit file </data/www/codefever-community/env.yaml: mysql/*> to finish mysql settings.'
|
||||
echo '2. You shuold edit file </data/www/codefever-community/env.yaml: session/*> to finish cookie settings.'
|
||||
echo '3. You shuold edit file </data/www/codefever-community/env.yaml: gateway/token> to finish git gateway security settings.'
|
||||
|
||||
|
||||
@@ -1945,3 +1945,6 @@ ldap.max_links = -1
|
||||
|
||||
; List of headers files to preload, wildcard patterns allowed.
|
||||
;ffi.preload=
|
||||
|
||||
; Extensions for codefever-community
|
||||
extension=yaml
|
||||
Reference in New Issue
Block a user