You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fu-hsi-service/docker/docker-compose/docker-compose.yml

57 lines
1.6 KiB
YAML

include:
- path: ./docker-compose-base.yml
env_file: ./.env
services:
fu-hsi-web:
depends_on:
mysql:
condition: service_started
neo4j:
condition: service_started
minio:
condition: service_started
image: fu-hsi-web:1.1.0
container_name: fu-hsi-web
ports:
- ${WEB_HTTP_PORT}:8097
volumes:
- ./fu-hsi-web/:/data/fu-hsi/web/
- ./logs/fu-hsi-web/:/logs
command:
--spring.profiles.active=${SPRING_PROFILES_ACTIVE}
--ollama.url=${OLLAMA_URL}
--ollama.model=${OLLAMA_MODEL}
--langChain-chat.url=${LANGCHAIN_CHAT_URL}
--datasource.password=${MYSQL_PASSWORD}
--neo4j.username=${NEO4J_USERNAME}
--neo4j.password=${NEO4J_PASSWORD}
--minio.username=${MINIO_USER}
--minio.password=${MINIO_PASSWORD}
--fu-hsi-config.thread-pool.triple.core=${THREAD_POOL_TRIPLE_CORE}
--fu-hsi-config.thread-pool.type.core=${THREAD_POOL_TYPE_CORE}
--xxl.job.admin.password=${XXl_JOB_PASSWORD}
--dify.server.url=${DIFY_SERVER_URL}
--dify.dataset.auth=${DIFY_DATASET_AUTH}
--dify.app.auth=${DIFY_APP_AUTH}
environment:
- TZ=${TIMEZONE}
networks:
- fu-hsi
restart: always
fu-hsi-nginx:
depends_on:
fu-hsi-web:
condition: service_started
image: fu-hsi-nginx:1.0.0
container_name: fu-hsi-nginx
ports:
- ${NGINX_HTTP_PORT}:80
volumes:
- ./fu-hsi-nginx/html/:/usr/share/nginx/html/
environment:
- TZ=${TIMEZONE}
- FU_HSI_SERVERS=${FU_HSI_SERVERS}
networks:
- fu-hsi
restart: always