modulepackage
0.0.0-20241009035631-5c40f87967c5
Repository: https://github.com/shijiahao314/go-qa.git
Documentation: pkg.go.dev
# README
Go-QA:Next-QA对话系统后端服务
前端Github仓库:Next-QA
技术栈
- Gin
- Gorm
- Casbin
部署运行
使用 Dockerfile
# docker build -t <image_name>:<image_tag> <path_to_dockerfile>
docker run -itd --name qa-mysql --restart always -e MYSQL_ROOT_PASSWORD=qa-mysql-password -e MYSQL_DATABASE=qa -p 3306:3306 mysql
# docker stop qa-redis && docker rm qa-redis
docker run -itd --name qa-redis --restart always -p 6379:6379 redis --requirepass "qa-redis-password"
docker build -t go-qa:v1 .
使用 Docker Compose
# -d 在后台启动
docker compose up -d
# 跟踪日志
docker compose logs -f <container_name>
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author