| - CERTBOT_DOMAIN=${CERTBOT_DOMAIN} | - CERTBOT_DOMAIN=${CERTBOT_DOMAIN} | ||||
| - CERTBOT_OPTIONS=${CERTBOT_OPTIONS:-} | - CERTBOT_OPTIONS=${CERTBOT_OPTIONS:-} | ||||
| entrypoint: [ "/docker-entrypoint.sh" ] | entrypoint: [ "/docker-entrypoint.sh" ] | ||||
| command: ["tail", "-f", "/dev/null"] | |||||
| command: [ "tail", "-f", "/dev/null" ] | |||||
| # The nginx reverse proxy. | # The nginx reverse proxy. | ||||
| # used for reverse proxying the API service and Web service. | # used for reverse proxying the API service and Web service. | ||||
| weaviate: | weaviate: | ||||
| image: semitechnologies/weaviate:1.19.0 | image: semitechnologies/weaviate:1.19.0 | ||||
| profiles: | profiles: | ||||
| - '' | |||||
| - "" | |||||
| - weaviate | - weaviate | ||||
| restart: always | restart: always | ||||
| volumes: | volumes: | ||||
| - oracle | - oracle | ||||
| restart: always | restart: always | ||||
| volumes: | volumes: | ||||
| - type: volume | |||||
| source: oradata | |||||
| - source: oradata | |||||
| type: volume | |||||
| target: /opt/oracle/oradata | target: /opt/oracle/oradata | ||||
| - ./startupscripts:/opt/oracle/scripts/startup | - ./startupscripts:/opt/oracle/scripts/startup | ||||
| environment: | environment: | ||||
| - ORACLE_PWD=${ORACLE_PWD:-Dify123456} | |||||
| - ORACLE_CHARACTERSET=${ORACLE_CHARACTERSET:-AL32UTF8} | |||||
| ORACLE_PWD: ${ORACLE_PWD:-Dify123456} | |||||
| ORACLE_CHARACTERSET: ${ORACLE_CHARACTERSET:-AL32UTF8} | |||||
| # Milvus vector database services | # Milvus vector database services | ||||
| etcd: | etcd: | ||||
| profiles: | profiles: | ||||
| - milvus | - milvus | ||||
| environment: | environment: | ||||
| - ETCD_AUTO_COMPACTION_MODE=${ETCD_AUTO_COMPACTION_MODE:-revision} | |||||
| - ETCD_AUTO_COMPACTION_RETENTION=${ETCD_AUTO_COMPACTION_RETENTION:-1000} | |||||
| - ETCD_QUOTA_BACKEND_BYTES=${ETCD_QUOTA_BACKEND_BYTES:-4294967296} | |||||
| - ETCD_SNAPSHOT_COUNT=${ETCD_SNAPSHOT_COUNT:-50000} | |||||
| ETCD_AUTO_COMPACTION_MODE: ${ETCD_AUTO_COMPACTION_MODE:-revision} | |||||
| ETCD_AUTO_COMPACTION_RETENTION: ${ETCD_AUTO_COMPACTION_RETENTION:-1000} | |||||
| ETCD_QUOTA_BACKEND_BYTES: ${ETCD_QUOTA_BACKEND_BYTES:-4294967296} | |||||
| ETCD_SNAPSHOT_COUNT: ${ETCD_SNAPSHOT_COUNT:-50000} | |||||
| volumes: | volumes: | ||||
| - ./volumes/milvus/etcd:/etcd | - ./volumes/milvus/etcd:/etcd | ||||
| command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd | command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd | ||||
| timeout: 20s | timeout: 20s | ||||
| retries: 3 | retries: 3 | ||||
| depends_on: | depends_on: | ||||
| - "etcd" | |||||
| - "minio" | |||||
| - etcd | |||||
| - minio | |||||
| ports: | ports: | ||||
| - "19530:19530" | |||||
| - "9091:9091" | |||||
| - 19530:19530 | |||||
| - 9091:9091 | |||||
| networks: | networks: | ||||
| - milvus | - milvus | ||||
| profiles: | profiles: | ||||
| - opensearch | - opensearch | ||||
| environment: | environment: | ||||
| - discovery.type=${OPENSEARCH_DISCOVERY_TYPE:-single-node} | |||||
| - bootstrap.memory_lock=${OPENSEARCH_BOOTSTRAP_MEMORY_LOCK:-true} | |||||
| - OPENSEARCH_JAVA_OPTS=-Xms${OPENSEARCH_JAVA_OPTS_MIN:-512m} -Xmx${OPENSEARCH_JAVA_OPTS_MAX:-1024m} | |||||
| - OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD:-Qazwsxedc!@#123} | |||||
| discovery.type: ${OPENSEARCH_DISCOVERY_TYPE:-single-node} | |||||
| bootstrap.memory_lock: ${OPENSEARCH_BOOTSTRAP_MEMORY_LOCK:-true} | |||||
| OPENSEARCH_JAVA_OPTS: -Xms${OPENSEARCH_JAVA_OPTS_MIN:-512m} -Xmx${OPENSEARCH_JAVA_OPTS_MAX:-1024m} | |||||
| OPENSEARCH_INITIAL_ADMIN_PASSWORD: ${OPENSEARCH_INITIAL_ADMIN_PASSWORD:-Qazwsxedc!@#123} | |||||
| ulimits: | ulimits: | ||||
| memlock: | memlock: | ||||
| soft: ${OPENSEARCH_MEMLOCK_SOFT:--1} | soft: ${OPENSEARCH_MEMLOCK_SOFT:--1} | ||||
| - ./volumes/myscale/log:/var/log/clickhouse-server | - ./volumes/myscale/log:/var/log/clickhouse-server | ||||
| - ./volumes/myscale/config/users.d/custom_users_config.xml:/etc/clickhouse-server/users.d/custom_users_config.xml | - ./volumes/myscale/config/users.d/custom_users_config.xml:/etc/clickhouse-server/users.d/custom_users_config.xml | ||||
| ports: | ports: | ||||
| - "${MYSCALE_PORT:-8123}:${MYSCALE_PORT:-8123}" | |||||
| - ${MYSCALE_PORT:-8123}:${MYSCALE_PORT:-8123} | |||||
| # https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html | # https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html | ||||
| # https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-prod-prerequisites | # https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-prod-prerequisites | ||||
| volumes: | volumes: | ||||
| - dify_es01_data:/usr/share/elasticsearch/data | - dify_es01_data:/usr/share/elasticsearch/data | ||||
| environment: | environment: | ||||
| - ELASTIC_PASSWORD=${ELASTICSEARCH_PASSWORD:-elastic} | |||||
| - cluster.name=dify-es-cluster | |||||
| - node.name=dify-es0 | |||||
| - discovery.type=single-node | |||||
| - xpack.license.self_generated.type=trial | |||||
| - xpack.security.enabled=true | |||||
| - xpack.security.enrollment.enabled=false | |||||
| - xpack.security.http.ssl.enabled=false | |||||
| ELASTIC_PASSWORD: ${ELASTICSEARCH_PASSWORD:-elastic} | |||||
| cluster.name: dify-es-cluster | |||||
| node.name: dify-es0 | |||||
| discovery.type: single-node | |||||
| xpack.license.self_generated.type: trial | |||||
| xpack.security.enabled: "true" | |||||
| xpack.security.enrollment.enabled: "false" | |||||
| xpack.security.http.ssl.enabled: "false" | |||||
| ports: | ports: | ||||
| - ${ELASTICSEARCH_PORT:-9200}:9200 | - ${ELASTICSEARCH_PORT:-9200}:9200 | ||||
| healthcheck: | healthcheck: | ||||
| test: ["CMD", "curl", "-s", "http://localhost:9200/_cluster/health?pretty"] | |||||
| test: [ "CMD", "curl", "-s", "http://localhost:9200/_cluster/health?pretty" ] | |||||
| interval: 30s | interval: 30s | ||||
| timeout: 10s | timeout: 10s | ||||
| retries: 50 | retries: 50 | ||||
| - elasticsearch | - elasticsearch | ||||
| restart: always | restart: always | ||||
| environment: | environment: | ||||
| - XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY=d1a66dfd-c4d3-4a0a-8290-2abcb83ab3aa | |||||
| - NO_PROXY=localhost,127.0.0.1,elasticsearch,kibana | |||||
| - XPACK_SECURITY_ENABLED=true | |||||
| - XPACK_SECURITY_ENROLLMENT_ENABLED=false | |||||
| - XPACK_SECURITY_HTTP_SSL_ENABLED=false | |||||
| - XPACK_FLEET_ISAIRGAPPED=true | |||||
| - I18N_LOCALE=zh-CN | |||||
| - SERVER_PORT=5601 | |||||
| - ELASTICSEARCH_HOSTS="http://elasticsearch:9200" | |||||
| XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: d1a66dfd-c4d3-4a0a-8290-2abcb83ab3aa | |||||
| NO_PROXY: localhost,127.0.0.1,elasticsearch,kibana | |||||
| XPACK_SECURITY_ENABLED: "true" | |||||
| XPACK_SECURITY_ENROLLMENT_ENABLED: "false" | |||||
| XPACK_SECURITY_HTTP_SSL_ENABLED: "false" | |||||
| XPACK_FLEET_ISAIRGAPPED: "true" | |||||
| I18N_LOCALE: zh-CN | |||||
| SERVER_PORT: "5601" | |||||
| ELASTICSEARCH_HOSTS: http://elasticsearch:9200 | |||||
| ports: | ports: | ||||
| - ${KIBANA_PORT:-5601}:5601 | - ${KIBANA_PORT:-5601}:5601 | ||||
| healthcheck: | healthcheck: |