mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-30 07:08:50 +01:00
refactor: split docker install with env
This commit is contained in:
parent
104dc9a08e
commit
a950f57ee6
4 changed files with 33 additions and 21 deletions
|
|
@ -2,9 +2,11 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: .devcontainer/Dockerfile
|
||||
args:
|
||||
- INSTALL_DOCKER=${INSTALL_DOCKER:-false}
|
||||
# restart: always
|
||||
links:
|
||||
- mongodb
|
||||
|
|
@ -37,7 +39,7 @@ services:
|
|||
user: vscode
|
||||
|
||||
# Overrides default command so things don't shut down after the process ends.
|
||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
||||
|
||||
mongodb:
|
||||
container_name: chat-mongodb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue