Spaces:
reon314
/
Runtime error

File size: 1,565 Bytes
3b6afc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3.4"

services:
  client:
    image: nginx:latest
    restart: always
    ports:
      - 80:80
      - 443:443
    volumes:
      - ../../client/nginx.conf:/etc/nginx/nginx.conf
      - /app/client/node_modules
    depends_on:
      - api
  api:
    container_name: LibreChat
    ports:
      - 9000:3080
    depends_on:
      - mongodb
    image: ghcr.io/danny-avila/librechat:latest
    # image: librechat_deploy
    # build:
    #   context: ../../
    #   target: node
    restart: always
    extra_hosts:
    - "host.docker.internal:host-gateway"
    env_file:
      - ../../.env
    environment:
      - HOST=0.0.0.0
      - MONGO_URI=mongodb://mongodb:27017/LibreChat
      - MEILI_HOST=http://meilisearch:7700
      - MEILI_HTTP_ADDR=meilisearch:7700
    volumes:
      - /app/client/node_modules
      - ../../api:/app/api
      - ../../.env:/app/.env
      - ../../.env.development:/app/.env.development
      - ../../.env.production:/app/.env.production
      - /app/api/node_modules
      - ../../images:/app/client/public/images
  mongodb:
    container_name: chat-mongodb
    ports:
      - 27018:27017
    image: mongo
    restart: always
    volumes:
      - ./data-node:/data/db
    command: mongod --noauth
  meilisearch:
    container_name: chat-meilisearch
    image: getmeili/meilisearch:v1.0
    ports:
      - 7700:7700
    env_file:
      - ../../.env
    environment:
      - MEILI_HOST=http://meilisearch:7700
      - MEILI_HTTP_ADDR=meilisearch:7700
      - MEILI_NO_ANALYTICS=true
    volumes:
      - ./meili_data:/meili_data