mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-06 21:50:39 +08:00
* fix(Useless Code): remove useless code * feat(Deploy Scripts): add deploy scripts * fix(Delopy Script): change settings * fix(Deploy Script): fix ssh-keygen script * fix(Deploy Script): change env file path * feat(Deploy Script): add db migration * fix(Deploy script): change script * feat(Deploy Script): add sql file to create database * fix(Deploy Script): add composer support * fix(Deploy Script): add composer * fix(Service Script): add http gateway * fix(Deploy Script): add git path * fix(Deploy Script): fix setting bugs * fix(Init Script): get user from config * fix(Service): adjust run users * feat(Doc): add doc * fix(Doc): change docs * fix(Deploy script): change owner of storage path * feat: codefever-community documentation system * fix(Doc): doc details page style * feat: fix page navigation * fix(SQL File): fix db file fit MySQL 5.7 * fix(FileTree): empty repository display * fix: fix helper navigation * docs(zh-cn essential part): * fix(Doc Style): change markdown.css * docs(contribution doc): * fix: unified page style * docs(Readme): add readme * build(Build): Co-authored-by: cubic <carneywu@pgyer.com> Co-authored-by: pololi <pololi@pgyer.com> Co-authored-by: yangchen <chenyang@pgyer.com>
46 lines
867 B
YAML
Executable File
46 lines
867 B
YAML
Executable File
# production setting
|
|
# set running enviroment
|
|
# value: development | testing | production
|
|
env: 'production'
|
|
|
|
# release number setting
|
|
# value: 14-digit number
|
|
releaseNumber: '00000000000001'
|
|
|
|
# mysql configuration (DO NOT CHANGE mysql/db)
|
|
mysql:
|
|
host: localhost
|
|
port: 3306
|
|
username: root
|
|
password: 123456
|
|
db: codefever_community
|
|
|
|
# session setting
|
|
session:
|
|
domain:
|
|
name: codefever_community
|
|
key: <session_key>
|
|
|
|
# path
|
|
path:
|
|
file: file-storage
|
|
git: git-storage
|
|
|
|
# cli
|
|
cli:
|
|
git: /usr/local/git/bin/git
|
|
shell: /usr/local/git/bin/git-shell
|
|
http: /usr/local/git/libexec/git-core/git-http-backend
|
|
|
|
# users
|
|
users:
|
|
www: git
|
|
git: git
|
|
|
|
# gateway
|
|
gateway:
|
|
token: <codefever_community_api_token>
|
|
hooks: http://127.0.0.1/apiv1/internal/hooks
|
|
authHTTP: http://127.0.0.1/apiv1/internal/authHTTP
|
|
authSSH: http://127.0.0.1/apiv1/internal/authSSH
|