2024-04-07 09:04:32 +08:00
|
|
|
include:
|
|
|
|
- path: ./docker-compose-base.yml
|
|
|
|
env_file: ./.env
|
2023-12-15 19:38:32 +08:00
|
|
|
|
2024-04-07 09:04:32 +08:00
|
|
|
services:
|
2024-02-28 15:01:12 +08:00
|
|
|
ragflow:
|
|
|
|
depends_on:
|
2024-02-28 18:57:43 +08:00
|
|
|
mysql:
|
|
|
|
condition: service_healthy
|
|
|
|
es01:
|
|
|
|
condition: service_healthy
|
2024-04-19 18:19:15 +08:00
|
|
|
image: infiniflow/ragflow:${RAGFLOW_VERSION}
|
2024-02-28 15:01:12 +08:00
|
|
|
container_name: ragflow-server
|
|
|
|
ports:
|
|
|
|
- ${SVR_HTTP_PORT}:9380
|
2024-02-28 18:57:43 +08:00
|
|
|
- 80:80
|
|
|
|
- 443:443
|
2024-02-28 15:01:12 +08:00
|
|
|
volumes:
|
|
|
|
- ./service_conf.yaml:/ragflow/conf/service_conf.yaml
|
|
|
|
- ./ragflow-logs:/ragflow/logs
|
2024-02-29 12:50:01 +08:00
|
|
|
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
|
|
|
|
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
|
|
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
2024-03-05 12:08:41 +08:00
|
|
|
environment:
|
|
|
|
- TZ=${TIMEZONE}
|
2024-04-16 18:55:51 +08:00
|
|
|
- HF_ENDPOINT=https://huggingface.co
|
2024-02-28 15:01:12 +08:00
|
|
|
networks:
|
|
|
|
- ragflow
|
|
|
|
restart: always
|