services: backend: 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 - ./types:/opt/types - ./backend:/opt/app environment: - BACKEND_DEBUG=${BACKEND_DEBUG:-false} frontend: volumes: - ./.git:/opt/.git:ro - ./types:/opt/types - ./frontend:/opt/app 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