mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
first commit
This commit is contained in:
commit
e8207c4258
2
.docker/.data/.gitignore
vendored
Normal file
2
.docker/.data/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
48
.env
Normal file
48
.env
Normal file
@ -0,0 +1,48 @@
|
||||
APP_NAME=XBoard
|
||||
APP_ENV=local
|
||||
APP_KEY=base64:h6cbAIj06pHwSD1SjVE8uRF6bfEx1nWMSY9e06DsyyA=
|
||||
APP_DEBUG=false
|
||||
APP_URL=http://localhost
|
||||
|
||||
ADMIN_SETTING_CACHE=60 #设置缓存时间(单位秒)
|
||||
#LaravelS配置
|
||||
LARAVELS_LISTEN_IP=0.0.0.0
|
||||
LARAVELS_LISTEN_PORT=80
|
||||
LARAVELS_HANDLE_STATIC=true
|
||||
LARAVELS_MAX_REQUEST=1000
|
||||
LARAVELS_WORKER_NUM=2
|
||||
LARAVELS_TIMER=true
|
||||
|
||||
APP_RUNNING_IN_CONSOLE=true
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
|
||||
DB_CONNECTION=sqlite
|
||||
DB_HOST=
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=.docker/.data/database.sqlite
|
||||
DB_USERNAME=
|
||||
DB_PASSWORD=
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
QUEUE_CONNECTION=file
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MAIL_DRIVER=smtp
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS=null
|
||||
MAIL_FROM_NAME=null
|
||||
MAILGUN_DOMAIN=
|
||||
MAILGUN_SECRET=
|
||||
|
||||
INSTALLED=true
|
49
.env.example
Normal file
49
.env.example
Normal file
@ -0,0 +1,49 @@
|
||||
APP_NAME=XBoard
|
||||
APP_ENV=local
|
||||
APP_KEY=base64:PZXk5vTuTinfeEVG5FpYv2l6WEhLsyvGpiWK7IgJJ60=
|
||||
APP_DEBUG=false
|
||||
APP_URL=http://localhost
|
||||
|
||||
ADMIN_SETTING_CACHE=60 #设置缓存时间(单位秒)
|
||||
#LaravelS配置
|
||||
LARAVELS_LISTEN_IP=0.0.0.0
|
||||
LARAVELS_LISTEN_PORT=80
|
||||
LARAVELS_HANDLE_STATIC=true
|
||||
LARAVELS_MAX_REQUEST=1000
|
||||
LARAVELS_WORKER_NUM=2
|
||||
LARAVELS_TIMER=true
|
||||
|
||||
APP_RUNNING_IN_CONSOLE=true
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=v2board
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
#默认启用redis,防止报错,在安装redis后自行将file改为redis提升性能
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
QUEUE_CONNECTION=file
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MAIL_DRIVER=smtp
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS=null
|
||||
MAIL_FROM_NAME=null
|
||||
MAILGUN_DOMAIN=
|
||||
MAILGUN_SECRET=
|
||||
|
||||
# 用于阻止重复安装
|
8
docker-compose.yaml
Normal file
8
docker-compose.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
version: '3'
|
||||
services:
|
||||
xboard:
|
||||
image: ghcr.io/cedar2025/xboard:v1.0.0
|
||||
volumes:
|
||||
- ./.env:/www/.env
|
||||
- ./.docker/.data/:/www/.docker/.data/
|
||||
network_mode: host
|
Loading…
Reference in New Issue
Block a user