mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
fix: devcontainer image and networking (#891)
This commit is contained in:
parent
7fa01da30e
commit
b284698825
1 changed files with 11 additions and 4 deletions
|
@ -3,7 +3,7 @@ version: '3.4'
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
# container_name: LibreChat_dev
|
# container_name: LibreChat_dev
|
||||||
image: node:19-alpine
|
image: node:19-bullseye
|
||||||
# Using a Dockerfile is optional, but included for completeness.
|
# Using a Dockerfile is optional, but included for completeness.
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
|
@ -11,7 +11,10 @@ services:
|
||||||
# # [Optional] You can use build args to set options. e.g. 'VARIANT' below affects the image in the Dockerfile
|
# # [Optional] You can use build args to set options. e.g. 'VARIANT' below affects the image in the Dockerfile
|
||||||
# args:
|
# args:
|
||||||
# VARIANT: buster
|
# VARIANT: buster
|
||||||
network_mode: "host"
|
# network_mode: "host"
|
||||||
|
links:
|
||||||
|
- mongodb
|
||||||
|
- meilisearch
|
||||||
# ports:
|
# ports:
|
||||||
# - 3080:3080 # Change it to 9000:3080 to use nginx
|
# - 3080:3080 # Change it to 9000:3080 to use nginx
|
||||||
extra_hosts: # if you are running APIs on docker you need access to, you will need to uncomment this line and next
|
extra_hosts: # if you are running APIs on docker you need access to, you will need to uncomment this line and next
|
||||||
|
@ -50,7 +53,9 @@ services:
|
||||||
|
|
||||||
mongodb:
|
mongodb:
|
||||||
container_name: chat-mongodb
|
container_name: chat-mongodb
|
||||||
network_mode: "host"
|
# network_mode: "host"
|
||||||
|
expose:
|
||||||
|
- 27017
|
||||||
# ports:
|
# ports:
|
||||||
# - 27018:27017
|
# - 27018:27017
|
||||||
image: mongo
|
image: mongo
|
||||||
|
@ -61,7 +66,9 @@ services:
|
||||||
meilisearch:
|
meilisearch:
|
||||||
container_name: chat-meilisearch
|
container_name: chat-meilisearch
|
||||||
image: getmeili/meilisearch:v1.0
|
image: getmeili/meilisearch:v1.0
|
||||||
network_mode: "host"
|
# network_mode: "host"
|
||||||
|
expose:
|
||||||
|
- 7700
|
||||||
# ports:
|
# ports:
|
||||||
# - 7700:7700
|
# - 7700:7700
|
||||||
# env_file:
|
# env_file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue