forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml.example
94 lines (74 loc) · 2.52 KB
/
docker-compose.override.yml.example
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: '3.4'
# Please consult our docs for more info: https://docs.librechat.ai/install/configuration/docker_override.html
# TO USE THIS FILE, FIRST UNCOMMENT THE LINE ('services:')
# THEN UNCOMMENT ONLY THE SECTION OR SECTIONS CONTAINING THE CHANGES YOU WANT TO APPLY
# SAVE THIS FILE AS 'docker-compose.override.yaml'
# AND USE THE 'docker compose build' & 'docker compose up -d' COMMANDS AS YOU WOULD NORMALLY DO
# WARNING: YOU CAN ONLY SPECIFY EVERY SERVICE NAME ONCE (api, mongodb, meilisearch, ...)
# IF YOU WANT TO OVERRIDE MULTIPLE SETTINGS IN ONE SERVICE YOU WILL HAVE TO EDIT ACCORDINGLY
# EXAMPLE: if you want to use the config file and the latest numbered release docker image the result will be:
# services:
# api:
# volumes:
# - ./librechat.yaml:/app/librechat.yaml
# image: ghcr.io/danny-avila/librechat:latest
# ---------------------------------------------------
# services:
# # USE LIBRECHAT CONFIG FILE
# api:
# volumes:
# - ./librechat.yaml:/app/librechat.yaml
# # LOCAL BUILD
# api:
# image: librechat
# build:
# context: .
# target: node
# # BUILD FROM LATEST IMAGE
# api:
# image: ghcr.io/danny-avila/librechat-dev:latest
# # BUILD FROM LATEST IMAGE (NUMBERED RELEASE)
# api:
# image: ghcr.io/danny-avila/librechat:latest
# # BUILD FROM LATEST API IMAGE
# api:
# image: ghcr.io/danny-avila/librechat-dev-api:latest
# # BUILD FROM LATEST API IMAGE (NUMBERED RELEASE)
# api:
# image: ghcr.io/danny-avila/librechat-api:latest
# # ADD MONGO-EXPRESS
# mongo-express:
# image: mongo-express
# container_name: mongo-express
# environment:
# ME_CONFIG_MONGODB_SERVER: mongodb
# ME_CONFIG_BASICAUTH_USERNAME: admin
# ME_CONFIG_BASICAUTH_PASSWORD: password
# ports:
# - '8081:8081'
# depends_on:
# - mongodb
# restart: always
# # USE MONGODB V4.4.18 - FOR OLDER CPU WITHOUT AVX SUPPORT
# mongodb:
# image: mongo:4.4.18
# # DISABLE THE MONGODB CONTAINER - YOU NEED TO SET AN ALTERNATIVE MONGODB URI IN THE .ENV FILE
# api:
# environment:
# - MONGO_URI=${MONGO_URI}
# mongodb:
# image: tianon/true
# command: ""
# entrypoint: ""
# # EXPOSE MONGODB PORTS - USE CAREFULLY, THIS MAKES YOUR DATABASE VULNERABLE TO ATTACKS
# mongodb:
# ports:
# - 27018:27017
# # DISABLE MEILISEARCH
# meilisearch:
# profiles:
# - donotstart
# # EXPOSE MEILISEARCH PORTS - DO NOT USE THE DEFAULT VALUE FOR THE MASTER KEY IF YOU DO THIS
# meilisearch:
# ports:
# - 7700:7700