docker-compose.dev.yml 476 B

12345678910111213141516171819202122
  1. services:
  2. backend:
  3. ports:
  4. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_PORT:-8080}:8080"
  5. volumes:
  6. - ./backend:/opt/app
  7. - ./types:/opt/types
  8. frontend:
  9. volumes:
  10. - ./frontend:/opt/app
  11. - ./types:/opt/types
  12. mongo:
  13. ports:
  14. - "${MONGO_HOST:-0.0.0.0}:${MONGO_PORT:-27017}:${MONGO_PORT:-27017}"
  15. redis:
  16. ports:
  17. - "${REDIS_HOST:-0.0.0.0}:${REDIS_PORT:-6379}:6379"
  18. volumes:
  19. - ${REDIS_DATA_LOCATION:-./redis}:/data