mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
ac0a9d02bd
Having dev containers makes its easier, faster and secure to setup the dev environment for the repository. The pull request consists of: - .devcontainer folder with: - **devcontainer.json :** (minimal necessary vscode extensions and settings) - **docker-compose.yaml :** (could be modified to run necessary services as per need. Ex vectordbs, databases) - **Dockerfile:**(non root with dev tools) - Changes to README - added the Open in Github Codespaces Badge - added the Open in dev container Badge Co-authored-by: Jinto Jose <129657162+jj701@users.noreply.github.com>
32 lines
637 B
YAML
32 lines
637 B
YAML
version: '3'
|
|
services:
|
|
langchain:
|
|
build:
|
|
dockerfile: .devcontainer/Dockerfile
|
|
context: ../
|
|
volumes:
|
|
- ../:/workspaces/langchain
|
|
networks:
|
|
- langchain-network
|
|
# environment:
|
|
# MONGO_ROOT_USERNAME: root
|
|
# MONGO_ROOT_PASSWORD: example123
|
|
# depends_on:
|
|
# - mongo
|
|
# mongo:
|
|
# image: mongo
|
|
# restart: unless-stopped
|
|
# environment:
|
|
# MONGO_INITDB_ROOT_USERNAME: root
|
|
# MONGO_INITDB_ROOT_PASSWORD: example123
|
|
# ports:
|
|
# - "27017:27017"
|
|
# networks:
|
|
# - langchain-network
|
|
|
|
networks:
|
|
langchain-network:
|
|
driver: bridge
|
|
|
|
|