docker-compose.dev.yml 663 B

123456789101112131415161718192021222324252627
  1. services:
  2. backend:
  3. ports:
  4. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_PORT:-8080}:8080"
  5. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_DEBUG_PORT:-9229}:9229"
  6. volumes:
  7. - ./.git:/opt/.git:ro
  8. - ./types:/opt/types
  9. - ./backend:/opt/app
  10. environment:
  11. - BACKEND_DEBUG=${BACKEND_DEBUG:-false}
  12. frontend:
  13. volumes:
  14. - ./.git:/opt/.git:ro
  15. - ./types:/opt/types
  16. - ./frontend:/opt/app
  17. mongo:
  18. ports:
  19. - "${MONGO_HOST:-0.0.0.0}:${MONGO_PORT:-27017}:${MONGO_PORT:-27017}"
  20. redis:
  21. ports:
  22. - "${REDIS_HOST:-0.0.0.0}:${REDIS_PORT:-6379}:6379"
  23. volumes:
  24. - ${REDIS_DATA_LOCATION:-./redis}:/data