mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-28 22:28:51 +01:00
42 lines
862 B
YAML
42 lines
862 B
YAML
|
|
version: "2"
|
||
|
|
|
||
|
|
services:
|
||
|
|
client:
|
||
|
|
image: react-app
|
||
|
|
restart: always
|
||
|
|
ports:
|
||
|
|
- "3000:3000"
|
||
|
|
volumes:
|
||
|
|
- ./client:/client
|
||
|
|
- /client/node_modules
|
||
|
|
links:
|
||
|
|
- api
|
||
|
|
networks:
|
||
|
|
- webappnetwork
|
||
|
|
api:
|
||
|
|
image: node-api
|
||
|
|
restart: always
|
||
|
|
ports:
|
||
|
|
- "9000:9000"
|
||
|
|
volumes:
|
||
|
|
- ./api:/api
|
||
|
|
- /api/node_modules
|
||
|
|
depends_on:
|
||
|
|
- mongodb
|
||
|
|
networks:
|
||
|
|
- webappnetwork
|
||
|
|
mongodb:
|
||
|
|
image: mongo
|
||
|
|
restart: always
|
||
|
|
container_name: mongodb
|
||
|
|
volumes:
|
||
|
|
- ./data-node:/data/db
|
||
|
|
ports:
|
||
|
|
- 27017:27017
|
||
|
|
command: mongod --noauth
|
||
|
|
networks:
|
||
|
|
- webappnetwork
|
||
|
|
|
||
|
|
networks:
|
||
|
|
webappnetwork:
|
||
|
|
driver: bridge
|