123456789101112131415161718192021222324252627282930313233343536 |
- services:
- backend:
- build:
- dockerfile: ./Dockerfile.dev
- ports:
- - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_PORT:-8080}:8080"
- - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_DEBUG_PORT:-9229}:9229"
- volumes:
- - ./.git:/opt/.git:ro
- - ./common:/opt/common
- - ./types:/opt/types
- - ./backend:/opt/app
- environment:
- - APP_ENV=${APP_ENV:-development}
- - BACKEND_DEBUG=${BACKEND_DEBUG:-false}
- frontend:
- build:
- dockerfile: ./Dockerfile.dev
- volumes:
- - ./.git:/opt/.git:ro
- - ./common:/opt/common
- - ./types:/opt/types
- - ./frontend:/opt/app
- environment:
- - APP_ENV=${APP_ENV:-development}
- mongo:
- ports:
- - "${MONGO_HOST:-0.0.0.0}:${MONGO_PORT:-27017}:${MONGO_PORT:-27017}"
- redis:
- ports:
- - "${REDIS_HOST:-0.0.0.0}:${REDIS_PORT:-6379}:6379"
- volumes:
- - ${REDIS_DATA_LOCATION:-./redis}:/data
|