1 Star 0 Fork 16

卮客/answer

forked from answerdev/answer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 731 Bytes
一键复制 编辑 原始数据 按行查看 历史
version: "3.9"
services:
answer:
image: answerdev/answer:latest
ports:
- '9080:80'
restart: on-failure
depends_on:
db:
condition: service_healthy
links:
- db
volumes:
- ./answer-data/data:/data
db:
image: mariadb:10.4.7
ports:
- '13306:3306'
restart: on-failure
environment:
MYSQL_DATABASE: answer
MYSQL_ROOT_PASSWORD: root
healthcheck:
test: [ "CMD", "mysqladmin" ,"ping", "-uroot", "-proot"]
timeout: 20s
retries: 10
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci', '--skip-character-set-client-handshake']
volumes:
- ./answer-data/mysql:/var/lib/mysql
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhiiker/answer.git
git@gitee.com:zhiiker/answer.git
zhiiker
answer
answer
main

搜索帮助