mirror of
https://github.com/hexastack/hexabot
synced 2024-12-28 06:42:23 +00:00
39 lines
885 B
YAML
39 lines
885 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
api:
|
|
build:
|
|
context: ../api
|
|
target: development
|
|
pull_policy: build
|
|
ports:
|
|
- ${API_PORT}:3000
|
|
- 9229:9229 # vscode debug port
|
|
volumes:
|
|
- ../api/src:/app/src
|
|
- ../api/migrations:/app/migrations
|
|
#- ../api/node_modules:/app/node_modules
|
|
|
|
mongo-express:
|
|
container_name: mongoUi
|
|
image: mongo-express:1-20
|
|
restart: always
|
|
ports:
|
|
- ${APP_MONGO_EXPRESS_PORT}:8081
|
|
networks:
|
|
- db-network
|
|
environment:
|
|
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGO_USER}
|
|
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGO_PASSWORD}
|
|
ME_CONFIG_MONGODB_URL: ${MONGO_URI}
|
|
|
|
hexabot-frontend:
|
|
container_name: frontend
|
|
build:
|
|
context: ../
|
|
dockerfile: ./frontend/Dockerfile
|
|
target: development
|
|
pull_policy: build
|
|
volumes:
|
|
- ../frontend/:/app/frontend/
|