3 Star 29 Fork 0

Mix Technology/HibiAPI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 740 Bytes
一键复制 编辑 原始数据 按行查看 历史
version: "3.9"
volumes:
hibi_redis: {}
networks:
hibi_net: {}
services:
redis:
image: redis:alpine
container_name: hibi_redis
healthcheck:
test: ["CMD-SHELL", "redis-cli ping"]
interval: 10s
timeout: 5s
retries: 5
networks:
- hibi_net
volumes:
- hibi_redis:/data
expose: [6379]
api:
container_name: hibiapi
build:
dockerfile: Dockerfile
context: .
restart: on-failure
networks:
- hibi_net
depends_on:
redis:
condition: service_healthy
ports:
- "8080:8080"
environment:
PORT: "8080"
FORWARDED_ALLOW_IPS: "*"
GENERAL_CACHE_URI: "redis://redis:6379"
GENERAL_SERVER_HOST: "0.0.0.0"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mixmoe/HibiAPI.git
[email protected]:mixmoe/HibiAPI.git
mixmoe
HibiAPI
HibiAPI
main

搜索帮助