Initial commit: Gitea Project Management System
Features: - Complete project management system with Epic/Story/Task hierarchy - Vue.js 3 + Element Plus frontend with kanban board - Go backend with Gin framework and GORM - OAuth2 integration with Gitea - Docker containerization with MySQL - RESTful API for project, task, and user management - JWT authentication and authorization - Responsive web interface with dashboard
This commit is contained in:
30
config/config.yaml
Normal file
30
config/config.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
server:
|
||||
host: "0.0.0.0"
|
||||
port: 8080
|
||||
mode: "debug"
|
||||
|
||||
database:
|
||||
driver: "mysql"
|
||||
host: "localhost"
|
||||
port: 3306
|
||||
database: "giteapm"
|
||||
username: "root"
|
||||
password: "password"
|
||||
charset: "utf8mb4"
|
||||
|
||||
gitea:
|
||||
base_url: "http://218.84.152.14:65001"
|
||||
client_id: "0671c92d-ae8b-4a5f-9fa9-0c17d971be01"
|
||||
client_secret: "gto_cdmdo4xp4tysa6oyhzpfk3kymeywbkkkybeplob2oxyw7h3no7pq"
|
||||
redirect_url: "http://hu.s7.tunnelfrp.com/api/v1/auth/callback"
|
||||
webhook_secret: "your-webhook-secret"
|
||||
|
||||
jwt:
|
||||
secret: "your-jwt-secret-key"
|
||||
expire_hour: 168 # 7 days
|
||||
|
||||
cors:
|
||||
allow_origins: ["http://218.84.152.14:65001", "http://localhost:8080","http://hu.s7.tunnelfrp.com"]
|
||||
allow_methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
||||
allow_headers: ["*"]
|
||||
allow_credentials: true
|
Reference in New Issue
Block a user