docker-compose.dev.yml 488 B

12345678910111213141516171819202122
  1. services:
  2. backend:
  3. build:
  4. dockerfile: ./Dockerfile.dev
  5. ports:
  6. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_PORT:-8080}:8080"
  7. environment:
  8. - APP_ENV=${APP_ENV:-development}
  9. frontend:
  10. build:
  11. dockerfile: ./Dockerfile.dev
  12. environment:
  13. - APP_ENV=${APP_ENV:-development}
  14. mongo:
  15. ports:
  16. - "${MONGO_HOST:-0.0.0.0}:${MONGO_PORT:-27017}:${MONGO_PORT:-27017}"
  17. redis:
  18. ports:
  19. - "${REDIS_HOST:-0.0.0.0}:${REDIS_PORT:-6379}:6379"